1998-03-01 16:16:16 +08:00
|
|
|
# Postgres documentation makefile
|
2000-10-08 21:24:09 +08:00
|
|
|
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.14 2000/10/08 13:24:08 petere Exp $
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-09-01 00:12:35 +08:00
|
|
|
subdir = doc/src
|
|
|
|
top_builddir = ../..
|
|
|
|
-include $(top_builddir)/src/Makefile.global
|
1998-03-01 16:16:16 +08:00
|
|
|
|
|
|
|
TAR= tar
|
2000-09-12 11:47:36 +08:00
|
|
|
ZIP= gzip
|
|
|
|
ZIPSUFFIX= gz
|
1998-10-31 17:35:19 +08:00
|
|
|
TAREXCLUDE= --exclude=Makefile --exclude='*.sgml' --exclude=ref
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-10-08 21:24:09 +08:00
|
|
|
SRC= admin postgres programmer tutorial user developer
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-09-12 11:47:36 +08:00
|
|
|
TARGETS= $(SRC:%=%.tar.$(ZIPSUFFIX))
|
1998-03-01 16:16:16 +08:00
|
|
|
|
1998-03-02 04:47:20 +08:00
|
|
|
.PRECIOUS:
|
|
|
|
.PHONY: install all sources clean distclean
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-07-16 22:50:44 +08:00
|
|
|
install:
|
1998-03-01 16:16:16 +08:00
|
|
|
$(MAKE) all
|
2000-09-12 11:47:36 +08:00
|
|
|
(mv -f *.$(ZIPSUFFIX) ..)
|
1998-03-02 04:47:20 +08:00
|
|
|
|
2000-07-16 22:50:44 +08:00
|
|
|
clean:
|
1998-03-02 04:47:20 +08:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
|
2000-07-16 22:50:44 +08:00
|
|
|
distclean:
|
1998-03-02 04:47:20 +08:00
|
|
|
$(MAKE) -C sgml distclean
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-07-16 22:50:44 +08:00
|
|
|
all: $(TARGETS)
|
1998-03-01 16:16:16 +08:00
|
|
|
|
2000-07-16 22:50:44 +08:00
|
|
|
sources:
|
2000-09-12 11:47:36 +08:00
|
|
|
$(MAKE) sources.tar.$(ZIPSUFFIX)
|
1998-03-01 16:16:16 +08:00
|
|
|
|
1998-05-10 06:32:03 +08:00
|
|
|
sources.tar:
|
2000-10-08 21:24:09 +08:00
|
|
|
$(TAR) -cf $@ sgml graphics
|
1998-05-10 06:32:03 +08:00
|
|
|
|
|
|
|
admin.tar:
|
1998-03-01 16:16:16 +08:00
|
|
|
$(MAKE) -C sgml clean
|
1998-03-02 04:47:20 +08:00
|
|
|
$(MAKE) -C sgml admin.html
|
2000-10-08 21:24:09 +08:00
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
|
1998-10-31 17:35:19 +08:00
|
|
|
|
2000-10-08 21:24:09 +08:00
|
|
|
developer.tar:
|
1998-10-31 17:35:19 +08:00
|
|
|
$(MAKE) -C sgml clean
|
2000-10-08 21:24:09 +08:00
|
|
|
$(MAKE) -C sgml developer.html
|
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
|
1998-03-02 04:47:20 +08:00
|
|
|
|
1998-05-10 06:32:03 +08:00
|
|
|
programmer.tar:
|
1998-03-02 04:47:20 +08:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml programmer.html
|
2000-10-08 21:24:09 +08:00
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif
|
1998-03-01 16:16:16 +08:00
|
|
|
|
1998-05-10 06:32:03 +08:00
|
|
|
tutorial.tar:
|
1998-03-01 16:16:16 +08:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml tutorial.html
|
2000-10-08 21:24:09 +08:00
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics clientserver.gif
|
1998-03-01 16:16:16 +08:00
|
|
|
|
1998-05-10 06:32:03 +08:00
|
|
|
user.tar:
|
1998-03-01 16:16:16 +08:00
|
|
|
$(MAKE) -C sgml clean
|
1998-03-02 04:47:20 +08:00
|
|
|
$(MAKE) -C sgml user.html
|
2000-10-08 21:24:09 +08:00
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
|
|
|
|
|
|
|
|
postgres.tar:
|
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
$(MAKE) -C sgml postgres.html
|
|
|
|
cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif clientserver.gif connections.gif
|
1998-03-01 16:16:16 +08:00
|
|
|
|
1999-07-07 01:13:50 +08:00
|
|
|
man.tar:
|
1999-08-08 23:10:21 +08:00
|
|
|
$(MAKE) -C sgml man
|
1999-07-07 01:13:50 +08:00
|
|
|
$(TAR) -cf $@ -C sgml man1 manl
|
|
|
|
|
1998-03-01 16:16:16 +08:00
|
|
|
# Generic production rules
|
|
|
|
|
|
|
|
# Compressed file
|
|
|
|
|
2000-09-12 11:47:36 +08:00
|
|
|
%.$(ZIPSUFFIX): %
|
|
|
|
$(ZIP) -f $<
|