/[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 13 - (hide annotations)
Sat Feb 19 16:01:46 2005 UTC (19 years, 2 months ago) by dpavlin
File size: 479 byte(s)
first working version (without returning properties)

1 dpavlin 8 dir=`pwd`
2     code=pgswish
3    
4     all: pgswish install
5     psql test < pgswish.sql
6 dpavlin 13 psql -c "select * from pgswish('"${dir}"/index/test', 'a* or b* or c*', '', '') order by size" test
7 dpavlin 8 # cat test.sql | sed "s,##dir##,${dir}," | psql test
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`

  ViewVC Help
Powered by ViewVC 1.1.26