1998-03-01 09:16:16 +01:00
|
|
|
# Postgres documentation makefile
|
|
|
|
# Thomas Lockhart
|
|
|
|
|
1999-07-06 19:13:50 +02:00
|
|
|
# Not yet generated from configure, so use relative path names for now...
|
1998-03-01 09:16:16 +01:00
|
|
|
PGDOCS= ..
|
|
|
|
SRCDIR= ../../src
|
|
|
|
|
|
|
|
TAR= tar
|
1998-05-10 00:32:03 +02:00
|
|
|
ZIP= gzip
|
1998-10-31 10:35:19 +01:00
|
|
|
TAREXCLUDE= --exclude=Makefile --exclude='*.sgml' --exclude=ref
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-04-05 19:07:32 +02:00
|
|
|
# Pick up Makefile.global from the source area
|
1998-03-01 09:16:16 +01:00
|
|
|
# This is the only resource from the code source area and is optional
|
|
|
|
|
1998-04-05 19:07:32 +02:00
|
|
|
ifneq ($(wildcard $(SRCDIR)/Makefile.global), )
|
|
|
|
include $(SRCDIR)/Makefile.global
|
1998-03-01 09:16:16 +01:00
|
|
|
endif
|
|
|
|
|
1998-03-01 21:47:20 +01:00
|
|
|
SRC= admin postgres programmer tutorial user
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-03-01 21:47:20 +01:00
|
|
|
TARGETS= $(SRC:%=%.tar.gz)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-03-01 21:47:20 +01:00
|
|
|
.PRECIOUS:
|
|
|
|
.PHONY: install all sources clean distclean
|
1998-03-01 09:16:16 +01:00
|
|
|
|
|
|
|
install::
|
|
|
|
$(MAKE) all
|
1998-03-01 21:47:20 +01:00
|
|
|
(mv -f *.gz ..)
|
|
|
|
|
|
|
|
clean::
|
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
|
|
|
|
distclean::
|
|
|
|
$(MAKE) -C sgml distclean
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-03-01 21:47:20 +01:00
|
|
|
all:: $(TARGETS)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
|
|
|
sources::
|
1998-05-10 00:32:03 +02:00
|
|
|
$(MAKE) sources.tar.gz
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
sources.tar:
|
|
|
|
($(TAR) -cf $@ sgml graphics)
|
|
|
|
|
|
|
|
admin.tar:
|
1998-03-01 09:16:16 +01:00
|
|
|
$(MAKE) -C sgml clean
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml admin.html
|
1998-10-31 10:35:19 +01:00
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics layout.gif)
|
|
|
|
|
|
|
|
installation.tar:
|
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml installation.html
|
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm)
|
1998-03-01 21:47:20 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
postgres.tar:
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml postgres.html
|
1999-07-14 22:31:42 +02:00
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif clientserver.gif connections.gif layout.gif)
|
1998-03-01 21:47:20 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
programmer.tar:
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml programmer.html
|
1998-10-31 10:35:19 +01:00
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
tutorial.tar:
|
1998-03-01 09:16:16 +01:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml tutorial.html
|
1999-01-07 07:19:17 +01:00
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics clientserver.gif)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
user.tar:
|
1998-03-01 09:16:16 +01:00
|
|
|
$(MAKE) -C sgml clean
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml user.html
|
1998-10-31 10:35:19 +01:00
|
|
|
(cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1999-07-06 19:13:50 +02:00
|
|
|
man.tar:
|
|
|
|
$(MAKE) -C sgml man1 manl
|
|
|
|
$(TAR) -cf $@ -C sgml man1 manl
|
|
|
|
|
1998-03-01 09:16:16 +01:00
|
|
|
# Generic production rules
|
|
|
|
|
|
|
|
# Compressed file
|
|
|
|
|
|
|
|
%.gz: %
|
1998-05-10 00:32:03 +02:00
|
|
|
($(ZIP) -f $<)
|
1998-03-01 09:16:16 +01:00
|
|
|
|