Makefile fixes

This commit is contained in:
Silvan Calarco 2011-06-07 17:38:35 +02:00
parent 3bbb2a24b6
commit d8df8b666d

View File

@ -41,7 +41,6 @@ hosts \
hosts.allow \ hosts.allow \
hosts.deny \ hosts.deny \
inputrc \ inputrc \
modprobe.conf \
motd \ motd \
nsswitch.conf \ nsswitch.conf \
passwd \ passwd \
@ -74,9 +73,11 @@ dist: clean
exit 1;; \ exit 1;; \
esac esac
@git log > ChangeLog.git @git log > ChangeLog.git
@mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/
@rm -f $(dist_archive);\ @rm -f $(dist_archive);\
tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\ tar cf - -C /tmp $(distdir) | bzip2 -9 -c > $(dist_archive)
bzip2 -9 -c > $(dist_archive) @rm -rf /tmp/$(distdir)
@echo "file \`$(dist_archive)' created" @echo "file \`$(dist_archive)' created"
dist-rpm: dist dist-rpm: dist