* make static/ install recurseable
authorWilfried Göesgens <willi@citadel.org>
Wed, 6 Jan 2010 21:39:13 +0000 (21:39 +0000)
committerWilfried Göesgens <willi@citadel.org>
Wed, 6 Jan 2010 21:39:13 +0000 (21:39 +0000)
webcit/Makefile.in

index ffb5e4aa28c22340439028f50ea712af8438960b..ae5edda77188acf70e5bb1421c5e76e4c3546bbf 100644 (file)
@@ -111,6 +111,10 @@ install-setupbin: install-bin
 install-wwwdata:
        test -d $(DESTDIR)$(WWWDIR)/static.local/t || mkdir -p $(DESTDIR)$(WWWDIR)/static.local/t
        test -d $(DESTDIR)$(WWWDIR)/static/t || mkdir -p $(DESTDIR)$(WWWDIR)/static/t
+       for i in `find static -type d | grep -v .svn` \
+               ; do \
+               test -d $(DESTDIR)$(WWWDIR)/$$i || mkdir -p $(DESTDIR)$(WWWDIR)/$$i; \
+       done
        for i in `find static -type f | grep -v .svn`; do \
                $(INSTALL) $$i $(DESTDIR)$(WWWDIR)/$$i; \
        done