/[pgswish]/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 21 - (hide annotations)
Sun May 29 21:32:30 2005 UTC (18 years, 11 months ago) by dpavlin
File size: 597 byte(s)
target to update pgFoundry using svn2cvs.pl

1 dpavlin 8 dir=`pwd`
2     code=pgswish
3    
4     all: pgswish install
5     psql test < pgswish.sql
6 dpavlin 14 #psql -c "select * from pgswish('"${dir}"/index/test', 'a* or b* or c*', '') order by size" test
7     cat test.sql | sed "s,##dir##,${dir}," | psql test
8 dpavlin 8
9     pgswish:
10     cc -I`pg_config --includedir-server` -fpic -c ${code}.c
11     cc -shared -lswish-e -o ${code}.so ${code}.o
12    
13     clean:
14     rm -Rf index
15    
16     index:
17     mkdir index
18     swish-e -S fs -i . -f index/test
19    
20     install: ${code}.so
21     sudo cp ${code}.so `pg_config --pkglibdir`
22 dpavlin 21
23     cvs:
24     svn2cvs.pl file:///home/dpavlin/private/svn/pgswish/trunk/ :ext:dpavlin@cvs.pgfoundry.org:/cvsroot/pgswish pgswish

  ViewVC Help
Powered by ViewVC 1.1.26