From d8df8b666d5b83e4b3df68e0236dd2ed41a1c869 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 7 Jun 2011 17:38:35 +0200 Subject: [PATCH] Makefile fixes --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ccaac85..48593c8 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,6 @@ hosts \ hosts.allow \ hosts.deny \ inputrc \ -modprobe.conf \ motd \ nsswitch.conf \ passwd \ @@ -74,9 +73,11 @@ dist: clean exit 1;; \ esac @git log > ChangeLog.git + @mkdir /tmp/$(distdir) + @cp -a * /tmp/$(distdir)/ @rm -f $(dist_archive);\ - tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\ - bzip2 -9 -c > $(dist_archive) + tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive) + @rm -rf /tmp/$(distdir) @echo "file \`$(dist_archive)' created" dist-rpm: dist