Touching up makefile a bit with options for all builtin PL interpreters
This commit is contained in:
parent
847a6c37a1
commit
e5755ec1b1
@ -18,14 +18,19 @@ restart: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log
|
||||
$(TARBALL_BASENAME).tar.bz2:
|
||||
curl -L -O $(TARBALL_URL)
|
||||
|
||||
$(TARBALL_BASENAME): $(TARBALL_BASENAME).tar.bz2
|
||||
tar xjvf $<
|
||||
$(TARBALL_BASENAME)/configure: $(TARBALL_BASENAME).tar.bz2
|
||||
tar xjvf $< && touch $@
|
||||
|
||||
$(TARBALL_BASENAME)/Makefile: $(TARBALL_BASENAME)
|
||||
cd $< && ./configure --prefix=$(HERE)
|
||||
|
||||
$(HERE)/bin/postgres: $(TARBALL_BASENAME)/Makefile
|
||||
cd $(TARBALL_BASENAME) && \
|
||||
$(HERE)/bin/pg_ctl: $(TARBALL_BASENAME)/configure
|
||||
cd $(TARBALL_BASENAME) && ./configure \
|
||||
--prefix=$(HERE) \
|
||||
--with-python \
|
||||
--with-perl \
|
||||
--with-tcl \
|
||||
--with-tclconfig=/usr/lib/tcl8.5 \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
--with-libxslt && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user