From 5df39aac49990f79e42162ebda697a1229e372fc Mon Sep 17 00:00:00 2001 From: Timo Aaltonen Date: Tue, 1 Nov 2011 17:49:50 -0400 Subject: [PATCH] fix clean --- debian/rules | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index eb3ff079b..4fb87656f 100755 --- a/debian/rules +++ b/debian/rules @@ -10,13 +10,14 @@ export SUPPORTED_PLATFORM=debian override_dh_auto_clean: rm -rf ipa-python/build -# for i in "ipa-server" "ipa-client"; do \ -# (cd $$i && [ ! -f Makefile ] || $(MAKE) distclean); \ -# (cd $$i && rm -f COPYING INSTALL depcomp install-sh missing py-compile config.guess config.sub aclocal.m4 config.h.in version.m4); \ -# done + for i in daemons install ipaserver ipa-client; do \ + (cd $$i && [ ! -f Makefile ] || $(MAKE) distclean); \ + (cd $$i && rm -f COPYING INSTALL depcomp install-sh missing py-compile config.guess config.sub aclocal.m4 config.h.in version.m4); \ + done find . -name "*.pyo" -o -name "*.pyc" -type f -exec rm -f "{}" \; find . -name "ltmain.sh" -exec rm -f "{}" \; find . -name "configure" -exec rm -f "{}" \; + rm -rf daemons/ipa-version.h freeipa.spec freeipa.egg-info ipa-client/ipa-client.spec version.m4 dh_clean rm -rf $(DESTDIR)