/[omni_gantt]/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)
Sat Sep 14 21:02:01 2002 UTC (16 years, 7 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
make distribution, installation file

1 # database name to use
2 db=gantt
3
4 # files packed in distribution
5 cvs_files := $(shell cat CVS/Entries | grep ^/ | cut -d/ -f2 )
6 files = $(cvs_files) ChangeLog
7
8 # distribution name
9 dist = omni_gantt
10
11 all:
12 @echo dist,dump,create,drop,insert,fill
13
14 dump:
15 pg_dump -c $(db) > $(db).sql
16
17 create:
18 createdb $(db)
19 drop:
20 destroydb $(db)
21
22 insert:
23 psql $(db) < $(db).sql
24
25 fill: drop create insert
26
27 dist:
28 rm -f ChangeLog
29 rcs2log -h rot13.org > ChangeLog
30 rm -Rf $(dist)
31 mkdir $(dist)
32 cp -rpP $(files) $(dist)
33 tar cfvpz ../$(dist).tar.gz $(dist)/
34 rm -Rf $(dist)
35 @echo distribution in ../$(dist).tar.gz
36

  ViewVC Help
Powered by ViewVC 1.1.26