/[fcproducts]/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 /Makefile

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

revision 1.1 by ravilov, Wed Jun 6 03:18:29 2001 UTC revision 1.2 by ravilov, Wed Jun 6 08:37:01 2001 UTC
# Line 1  Line 1 
1    
2    db=fcproducts
3    
4  all:  all:
5            @echo dump,create,drop,insert,fill
6    
7    dump:
8            pg_dump $(db) > $(db).sql
9    
10  clean:  create:
11          sudo rm -f img/*          createdb $(db)
12    drop:
13            psql -c "drop database $(db)" template1
14    
15  distclean:  insert:
16          rm -f ../fcproducts.tgz          cat $(db).sql | sed 's/::text//' | sed 's/::bool//' | psql $(db)
17    
18  dist: distclean touch  fill: drop create insert
         tar cv --exclude=img/* * | gzip -fc9 >../fcproducts.tgz  
19    
 touch:  
         touch *  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26