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.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