# Postgres documentation makefile
-# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.13 2000/09/12 03:47:36 thomas Exp $
+# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.14 2000/10/08 13:24:08 petere Exp $
subdir = doc/src
top_builddir = ../..
ZIPSUFFIX= gz
TAREXCLUDE= --exclude=Makefile --exclude='*.sgml' --exclude=ref
-SRC= admin postgres programmer tutorial user
+SRC= admin postgres programmer tutorial user developer
TARGETS= $(SRC:%=%.tar.$(ZIPSUFFIX))
$(MAKE) sources.tar.$(ZIPSUFFIX)
sources.tar:
- ($(TAR) -cf $@ sgml graphics)
+ $(TAR) -cf $@ sgml graphics
admin.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml admin.html
- (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics layout.gif)
+ cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
-installation.tar:
+developer.tar:
$(MAKE) -C sgml clean
- $(MAKE) -C sgml installation.html
- (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 layout.gif)
+ $(MAKE) -C sgml developer.html
+ cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm
programmer.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml programmer.html
- (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif)
+ cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics catalogs.gif connections.gif
tutorial.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml tutorial.html
- (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics clientserver.gif)
+ cd sgml && $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm -C ../graphics clientserver.gif
user.tar:
$(MAKE) -C sgml clean
$(MAKE) -C sgml user.html
- (cd sgml; $(TAR) -cf ../$@ $(TAREXCLUDE) *.html *.htm)
+ 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
man.tar:
$(MAKE) -C sgml man
%.$(ZIPSUFFIX): %
$(ZIP) -f $<
-