Prevent plugins/.gitignore from being installed

I added a .gitignore file to plugins/ to ignore *.pyc files, and that
file is now being installed +x to /usr/lib/ikiwiki/plugins. This commit
prevents that by excluding all dot-files under plugins/ from the
install.

Signed-off-by: martin f. krafft <madduck@madduck.net>
master
martin f. krafft 2008-03-18 17:39:06 +01:00 committed by Joey Hess
parent a98f624fc3
commit 36580186a0
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ extra_install:
done
install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins
for file in `find plugins -maxdepth 1 -type f`; do \
for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\*`; do \
install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
done; \