From 0e76f37815c9a9d218f1b2b1321a138964038e49 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 12 Jun 2009 17:12:39 +0200 Subject: More Makefile cleanup --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 669e7f3..30c3b2b 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,13 @@ clean: -rm -rf build -rm -rf rpm -rm -rf src/setup_common.py[oc] - cd unit-tests && $(MAKE) clean + -rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.gz + $(MAKE) -C unit-tests clean tarball: rm -rf $(PACKAGE)-$(VERSION) mkdir $(PACKAGE)-$(VERSION) - cp -r contrib doc examples lib Makefile man README src dmidecode.py redhat.spec $(PACKAGE)-$(VERSION) + cp -r contrib doc examples lib Makefile man README src dmidecode.py $(PACKAGE)-$(VERSION) tar -czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) rpm: tarball -- cgit