[lxc-devel] [PATCH 1/2] build: don't remove configuration template on clean

Daniel Miranda danielkza2 at gmail.com
Mon Aug 25 21:16:42 UTC 2014


Now that default.conf is generated/linked during the configuration
phase, it should not longer be removed in the 'clean' stage, or
subsequent builds will fail. Only remove it during 'dist-clean'.
---
 config/etc/Makefile.am | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/config/etc/Makefile.am b/config/etc/Makefile.am
index 03193da..a830aef 100644
--- a/config/etc/Makefile.am
+++ b/config/etc/Makefile.am
@@ -3,9 +3,6 @@ config_DATA = default.conf
 
 EXTRA_DIST = default.conf.ubuntu default.conf.libvirt default.conf.unknown
 
-clean-local:
-	@$(RM) -f default.conf
-
 distclean-local:
 	@$(RM) -f default.conf
 	@$(RM) -f compile config.guess config.sub depcomp install-sh ltmain.sh missing Makefile.in Makefile
-- 
1.9.3



More information about the lxc-devel mailing list