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

Contents of /trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations)
Thu May 26 00:15:57 2005 UTC (18 years, 11 months ago) by dpavlin
File size: 650 byte(s)
add html target to re-generate ChangeLog.html

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

  ViewVC Help
Powered by ViewVC 1.1.26