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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations)
Thu May 26 20:22:44 2005 UTC (18 years, 11 months ago) by dpavlin
File size: 673 byte(s)
added small snippet of documentation

1 dpavlin 1 dir=`pwd`
2     code=pgest
3    
4     all: pgest install
5     psql test < pgest.sql
6     cat test.sql | sed "s,##dir##,${dir}," | psql test
7    
8     pgest:
9     cc -I`pg_config --includedir-server` -fpic -c ${code}.c `estconfig --cflags`
10     cc -shared `estconfig --ldflags` `estconfig --libs` -o ${code}.so ${code}.o
11    
12     clean:
13     rm -Rf casket *.o *.so
14    
15     index:
16 dpavlin 7 cd data && make index
17 dpavlin 1
18     install: ${code}.so
19     sudo cp ${code}.so `pg_config --pkglibdir`
20 dpavlin 6
21     test:
22     perl -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=0; runtests @ARGV;' t/*.t
23 dpavlin 15
24     html:
25 dpavlin 23 test -d doc || mkdir doc
26     text2html --paras --blockcode --headings --title --bullets README > doc/pgestraier.html
27     svn update && svn2html.pl > doc/ChangeLog.html

  ViewVC Help
Powered by ViewVC 1.1.26