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
parent
a98f624fc3
commit
36580186a0
|
@ -62,7 +62,7 @@ extra_install:
|
||||||
done
|
done
|
||||||
|
|
||||||
install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins
|
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; \
|
install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
|
||||||
done; \
|
done; \
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue