X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/4fcc9d92ab4958ea7cc85a1b3897c5141d863af1..80b0165ff81a91cc7b32fb2cf057c045352f7849:/Makefile.PL diff --git a/Makefile.PL b/Makefile.PL index 5bd1d6493..4f6b05179 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -46,11 +46,9 @@ extra_clean: $(MAKE) -C po clean extra_install: - install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/templates - $(CP) -a templates/* $(DESTDIR)$(PREFIX)/share/ikiwiki/templates - - install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/basewiki - $(CP) -aL basewiki/* $(DESTDIR)$(PREFIX)/share/ikiwiki/basewiki + install -d $(DESTDIR)$(PREFIX)/share/ikiwiki + find basewiki templates \( -type f -or -type l \) ! -regex '.*\.svn.*' \ + -exec cp --parents -aL {} $(DESTDIR)$(PREFIX)/share/ikiwiki \; install -d $(DESTDIR)$(PREFIX)/share/man/man1 install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1