quote the wildcards in rsync excludes

This commit is contained in:
James Vasile 2013-02-07 12:22:45 -05:00
parent fdd1d04170
commit 338a0684ba

View File

@ -36,7 +36,7 @@ install: default
gzip $(DESTDIR)/usr/share/doc/plinth/plinth.1
mv $(DESTDIR)/usr/share/doc/plinth/plinth.1.gz $(DESTDIR)/usr/share/man/man1
rsync -rl *.py modules templates vendor themes static \
--exclude static/doc --exclude .git/* --exclude *.pyc \
--exclude static/doc --exclude ".git/*" --exclude "*.pyc" \
$(DESTDIR)/usr/lib/python2.7/plinth
mkdir -p $(DESTDIR)/usr/lib/python2.7/plinth/static/doc
cp doc/*.html $(DESTDIR)/usr/lib/python2.7/plinth/static/doc