X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=6594c478b98dc4566dc8e07fbb5bc4e34991ac1f;hb=32f71ff9f960ecb191f256a6cfc11a3f2c0c0cf7;hp=52bf0882f3b51b5240d37bbf799fa06e136cfd4e;hpb=be8cb1f7d3431c4a63bbd478b79c12e244111d98;p=cocanwiki.git diff --git a/Makefile b/Makefile index 52bf088..6594c47 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.5 2004/09/15 09:32:09 rich Exp $ +# $Id: Makefile,v 1.10 2004/10/07 12:49:15 rich Exp $ include Makefile.config @@ -38,15 +38,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: 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