aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-26 22:58:01 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-26 22:58:01 +0000
commit80b0165ff81a91cc7b32fb2cf057c045352f7849 (patch)
tree790aecb0878307dcd8cf43387f3682e14ade9002 /Makefile.PL
parent4fcc9d92ab4958ea7cc85a1b3897c5141d863af1 (diff)
downloadikiwiki-80b0165ff81a91cc7b32fb2cf057c045352f7849.tar
ikiwiki-80b0165ff81a91cc7b32fb2cf057c045352f7849.tar.gz
* Avoid .svn directories when installing from svn checkout.
Diffstat (limited to 'Makefile.PL')
-rwxr-xr-xMakefile.PL8
1 files changed, 3 insertions, 5 deletions
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