Global settings display.
[cocanwiki.git] / Makefile
index 3a25958..d063bad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.2 2004/09/07 10:38:38 rich Exp $
+# $Id: Makefile,v 1.7 2004/09/20 15:34:36 rich Exp $
 
 include Makefile.config
 
@@ -26,6 +26,7 @@ pkg-install:
        install -d -m 0755 $(DESTDIR)$(WIKIINSTALLDIR)/html/_js
        install -d -m 0755 $(DESTDIR)$(WIKIINSTALLDIR)/html/_static
        install -d -m 0755 $(DESTDIR)$(WIKIINSTALLDIR)/templates
+       install -d -m 0755 $(DESTDIR)$(WIKIINSTALLDIR)/templates/admin
 
        install -m 0644 cocanwiki.sql $(DESTDIR)$(WIKIINSTALLDIR)
        install -m 0644 conf/cocanwiki.conf $(DESTDIR)$(WIKIINSTALLDIR)/conf
@@ -37,10 +38,11 @@ pkg-install:
        install -m 0644 html/_graphics/*.png $(DESTDIR)$(WIKIINSTALLDIR)/html/_graphics
        install -m 0644 html/_js/*.js $(DESTDIR)$(WIKIINSTALLDIR)/html/_js
        install -m 0644 html/_static/*.html $(DESTDIR)$(WIKIINSTALLDIR)/html/_static
-       install -m 0644 templates/*.html $(DESTDIR)$(WIKIINSTALLDIR)/templates
+       install -m 0644 templates/*.html templates/*.txt templates/*.xml $(DESTDIR)$(WIKIINSTALLDIR)/templates
+       install -m 0644 templates/admin/*.html $(DESTDIR)$(WIKIINSTALLDIR)/templates/admin
 
 clean:
-       rm -f *~ core
+       find \( -name '*~' -o -name core \) -a -exec rm {} \;
        $(MAKE) -C scripts clean
 
 cocanwiki.sql: