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