]> sipb.mit.edu Git - ikiwiki.git/commitdiff
split out underlay_install target
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 11:16:46 +0000 (13:16 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 11:16:46 +0000 (13:16 +0200)
Makefile.PL

index 93f9e89e2ab3314e6cc4ed85321c7168a3f1f67d..c615009bb03e3280f976e9e3a5574961d88c1731 100755 (executable)
@@ -52,7 +52,7 @@ extra_clean:
        rm -f *.man ikiwiki.out ikiwiki.setup plugins/*.pyc
        $(MAKE) -C po clean
 
        rm -f *.man ikiwiki.out ikiwiki.setup plugins/*.pyc
        $(MAKE) -C po clean
 
-extra_install:
+underlay_install:
        install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
        for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \
                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
        install -d $(DESTDIR)$(PREFIX)/share/ikiwiki
        for dir in `cd underlays && find . -follow -type d ! -regex '.*\.svn.*'`; do \
                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \
@@ -70,6 +70,7 @@ extra_install:
                fi \
        done
        
                fi \
        done
        
+extra_install: underlay_install
        # Install example sites.
        for dir in `cd doc/examples; find . -type d ! -regex '.*\.svn.*'`; do \
                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \
        # Install example sites.
        for dir in `cd doc/examples; find . -type d ! -regex '.*\.svn.*'`; do \
                install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/examples/$$dir; \