adjust dist-hook to syntax change in .gitignore

don't try to delete files in / ...

amends 46e792c3d.
This commit is contained in:
Oswald Buddenhagen 2017-10-01 14:59:47 +02:00
parent 380ccdd43a
commit aa617bb854

View File

@ -63,7 +63,7 @@ deb:
dist-hook:
find $(distdir)/debian \( -name .#\*# -o -type l \) -print0 | xargs -0r rm -rf
-cd $(distdir)/debian && test -f .gitignore && rm -rf `cat .gitignore` .gitignore
-cd $(distdir)/debian && test -f .gitignore && rm -rf `cut -c2- .gitignore` .gitignore
dist-sign: dist
gpg -b -a $(PACKAGE)-$(VERSION).tar.gz