X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/1916afc60321a420545d65929974ea06491dde85..43302310c0fd9132027593ee06c6ba62436e2064:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index a805f41a2..fa0b8ba49 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -67,9 +67,12 @@ extra_install: done install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins - for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\*`; do \ - cp -a $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \ - done; \ + for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* ! -name \*demo\* -name \*.py`; do \ + install -m 644 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \ + done + for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\* ! -name \*demo\* ! -name \*.py`; do \ + install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \ + done install -d $(DESTDIR)$(PREFIX)/share/man/man1 install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1