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

Annotation of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Tue Jun 19 10:10:48 2001 UTC (17 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -1 lines
podjela atk i inn u dvije tablice (različiti šifarnici!!!)

1 dpavlin 1.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 dpavlin 1.2 shema:
19 dpavlin 1.1 psql $(db) < shema.sql
20 dpavlin 1.2
21     fill: drop create shema
22 dpavlin 1.1 ./convert.pl 2>/var/tmp/debug
23    
24     fill2:
25     destroydb $(db)2
26     createdb $(db)2
27     psql $(db)2 < $(db).sql
28    

  ViewVC Help
Powered by ViewVC 1.1.26