Touching up makefile a bit with options for all builtin PL interpreters

cat-town
Dan Buch 12 years ago
parent 847a6c37a1
commit e5755ec1b1

@ -18,14 +18,19 @@ restart: $(HERE)/bin/pg_ctl $(HERE)/data $(HERE)/log
$(TARBALL_BASENAME).tar.bz2: $(TARBALL_BASENAME).tar.bz2:
curl -L -O $(TARBALL_URL) curl -L -O $(TARBALL_URL)
$(TARBALL_BASENAME): $(TARBALL_BASENAME).tar.bz2 $(TARBALL_BASENAME)/configure: $(TARBALL_BASENAME).tar.bz2
tar xjvf $< tar xjvf $< && touch $@
$(TARBALL_BASENAME)/Makefile: $(TARBALL_BASENAME) $(HERE)/bin/pg_ctl: $(TARBALL_BASENAME)/configure
cd $< && ./configure --prefix=$(HERE) cd $(TARBALL_BASENAME) && ./configure \
--prefix=$(HERE) \
$(HERE)/bin/postgres: $(TARBALL_BASENAME)/Makefile --with-python \
cd $(TARBALL_BASENAME) && \ --with-perl \
--with-tcl \
--with-tclconfig=/usr/lib/tcl8.5 \
--with-openssl \
--with-libxml \
--with-libxslt && \
make && \ make && \
make install make install

Loading…
Cancel
Save