Year view.
[cocanwiki.git] / Makefile
index d063bad..6594c47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.7 2004/09/20 15:34:36 rich Exp $
+# $Id: Makefile,v 1.10 2004/10/07 12:49:15 rich Exp $
 
 include Makefile.config
 
@@ -45,8 +45,13 @@ 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