/[registar]/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

Contents of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Tue Jun 19 08:15:43 2001 UTC (18 years, 1 month ago) by dpavlin
Branch: MAIN
make dump/fill/...

1
2 db=registar
3
4 all:
5 @echo dump,create,drop,insert,fill
6
7 dump:
8 pg_dump $(db) > $(db).sql
9
10 create:
11 createdb $(db)
12 drop:
13 psql template1 -c "drop database $(db)"
14
15 insert:
16 psql $(db) < $(db).sql
17
18 fill: drop create
19 psql $(db) < shema.sql
20 ./convert.pl 2>/var/tmp/debug
21
22 fill2:
23 destroydb $(db)2
24 createdb $(db)2
25 psql $(db)2 < $(db).sql
26

  ViewVC Help
Powered by ViewVC 1.1.26