/[gedafe]/trunk/network_topology/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

Annotation of /trunk/network_topology/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7 - (hide annotations)
Wed Feb 16 12:21:09 2005 UTC (19 years, 1 month ago) by dpavlin
File size: 327 byte(s)
work on application (well, SQL :-)

1 dpavlin 3 all:
2     @echo "usage: [db]"
3    
4     db_name=network_topology
5    
6     db:
7 dpavlin 7 psql -c "delete from meta_fields" ${db_name}
8     psql -c "delete from meta_tables" ${db_name}
9     pg_dump --column-inserts --data-only ${db_name} > data.sql
10 dpavlin 3 dropdb ${db_name}
11     createdb ${db_name}
12     psql -q ${db_name} flow < ${db_name}.sql
13     psql -q ${db_name} flow < data.sql

  ViewVC Help
Powered by ViewVC 1.1.26