Lines 1-17
Link Here
|
1 |
--- Makefile.PL.orig Sun Apr 29 12:57:51 2007 |
|
|
2 |
+++ Makefile.PL Sun Apr 29 13:27:51 2007 |
3 |
@@ -47,8 +47,12 @@ extra_clean: |
4 |
|
5 |
extra_install: |
6 |
install -d $(DESTDIR)$(PREFIX)/share/ikiwiki |
7 |
- find basewiki templates \( -type f -or -type l \) ! -regex '.*\.svn.*' \ |
8 |
- -exec cp --parents -aL {} $(DESTDIR)$(PREFIX)/share/ikiwiki \; |
9 |
+ for dir in `find -L basewiki templates -type d ! -regex '.*\.svn.*'`; do \ |
10 |
+ install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ |
11 |
+ for file in `find -L $$dir -maxdepth 1 -type f`; do \ |
12 |
+ install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ |
13 |
+ done; \ |
14 |
+ done |
15 |
|
16 |
install -d $(DESTDIR)$(PREFIX)/share/man/man1 |
17 |
install -m 644 ikiwiki.man $(DESTDIR)$(PREFIX)/share/man/man1/ikiwiki.1 |