X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=51cf40fe636b735fc1d37c2b9fc504eef5be66e4;hb=beee5bf06fd433c105fda1386b3e288768221216;hp=3a25958b4267da1c18b0a7a9c83a35b93c311316;hpb=8a7e2b3429ef8889ec7998d31e4c46470dc90889;p=cocanwiki.git diff --git a/Makefile b/Makefile index 3a25958..51cf40f 100644 --- 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.11 2004/11/05 12:41:52 rich Exp $ include Makefile.config @@ -26,9 +26,11 @@ 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 + install -m 0644 html/favicon.ico $(DESTDIR)$(WIKIINSTALLDIR)/html install -m 0644 html/robots.txt $(DESTDIR)$(WIKIINSTALLDIR)/html install -m 0644 html/_bin/*.cma $(DESTDIR)$(WIKIINSTALLDIR)/html/_bin install -m 0644 html/_bin/*.cmo $(DESTDIR)$(WIKIINSTALLDIR)/html/_bin @@ -37,14 +39,20 @@ 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 +FIXED_TABLES := templates themes + cocanwiki.sql: - pg_dump -i -s cocanwiki > $@ + pg_dump --no-owner -i -s cocanwiki > $@ + for table in $(FIXED_TABLES); do \ + pg_dump --no-owner -i -a -t $$table cocanwiki >> $@; \ + done dist: $(MAKE) check-manifest