/[webpac2]/trunk/sql/Makefile
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/sql/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by dpavlin, Sat Jul 23 15:46:24 2005 UTC revision 26 by dpavlin, Sat Jul 23 18:39:44 2005 UTC
# Line 3  db=webpac2 Line 3  db=webpac2
3  init:  init:
4          dropdb $(db) || true          dropdb $(db) || true
5          createdb $(db)          createdb $(db)
         psql $(db) < schema.sql  
6          ./mkindex.pl schema.sql | psql $(db)          ./mkindex.pl schema.sql | psql $(db)
7          test -f data.sql && psql $(db) < data.sql          test -f data.sql && psql $(db) < data.sql
8    

Legend:
Removed from v.25  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.26