]> sipb.mit.edu Git - ikiwiki.git/blobdiff - Makefile.PL
* Patch from hb to fix the pagestats plugin, which was broken by a past
[ikiwiki.git] / Makefile.PL
index 43af95c59c4916ffaf8196c581b905c499dba154..5514a98ceb67615cd40af8fae7412cfea9b647be 100755 (executable)
@@ -30,7 +30,7 @@ extra_build:
        ./pm_filter $(PREFIX) $(VER) $(PROBABLE_INST_LIB) < ikiwiki.in > ikiwiki.out
        chmod +x ikiwiki.out
        LANG=C perl -I. $(extramodules) $(tflag) ikiwiki.out doc html --templatedir=templates \
-               --underlaydir=basewiki \
+               --underlaydir=basewiki --nousedirs\
                --wikiname="ikiwiki" --verbose \
                --exclude=/discussion --no-discussion --userdir=users \
                --plugin=goodstuff \
@@ -47,9 +47,9 @@ extra_clean:
 
 extra_install:
        install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
-       for dir in `find -L basewiki templates -type d ! -regex '.*\.svn.*'`; do \
+       for dir in `find basewiki templates -follow -type d ! -regex '.*\.svn.*'`; do \
                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
-               for file in `find -L $$dir -maxdepth 1 -type f`; do \
+               for file in `find $$dir -follow -maxdepth 1 -type f`; do \
                        install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
                done; \
        done