1998-03-01 09:16:16 +01:00
|
|
|
# Postgres documentation makefile
|
2001-11-25 23:17:27 +01:00
|
|
|
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.28 2001/11/25 22:17:27 petere Exp $
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2000-08-31 18:12:35 +02:00
|
|
|
subdir = doc/src
|
|
|
|
top_builddir = ../..
|
2000-11-24 18:44:22 +01:00
|
|
|
include $(top_builddir)/src/Makefile.global
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2000-09-12 05:47:36 +02:00
|
|
|
ZIPSUFFIX= gz
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2001-09-18 14:08:27 +02:00
|
|
|
BOOKS = admin developer reference programmer tutorial user postgres
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2001-09-18 14:08:27 +02:00
|
|
|
TARGETS= $(BOOKS:%=%.tar.$(ZIPSUFFIX))
|
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
|
|
|
|
2000-07-16 16:50:44 +02:00
|
|
|
install:
|
1998-03-01 09:16:16 +01:00
|
|
|
$(MAKE) all
|
2000-09-12 05:47:36 +02:00
|
|
|
(mv -f *.$(ZIPSUFFIX) ..)
|
1998-03-01 21:47:20 +01:00
|
|
|
|
2000-07-16 16:50:44 +02:00
|
|
|
clean:
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml clean
|
|
|
|
|
2000-07-16 16:50:44 +02:00
|
|
|
distclean:
|
1998-03-01 21:47:20 +01:00
|
|
|
$(MAKE) -C sgml distclean
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2000-07-16 16:50:44 +02:00
|
|
|
all: $(TARGETS)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
2000-07-16 16:50:44 +02:00
|
|
|
sources:
|
2000-09-12 05:47:36 +02:00
|
|
|
$(MAKE) sources.tar.$(ZIPSUFFIX)
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1998-05-10 00:32:03 +02:00
|
|
|
sources.tar:
|
2000-10-08 15:24:09 +02:00
|
|
|
$(TAR) -cf $@ sgml graphics
|
1998-05-10 00:32:03 +02:00
|
|
|
|
2001-11-25 23:17:27 +01:00
|
|
|
# Build twice to resolve index entries
|
2001-09-18 14:08:27 +02:00
|
|
|
$(addsuffix .tar, $(BOOKS)):
|
1998-03-01 09:16:16 +01:00
|
|
|
$(MAKE) -C sgml clean
|
2000-11-24 18:44:22 +01:00
|
|
|
$(MAKE) -C sgml $(basename $@).html
|
2001-09-18 14:08:27 +02:00
|
|
|
$(MAKE) -C sgml $(basename $@).html JADEFLAGS='-V html-manifest'
|
2001-09-30 21:18:29 +02:00
|
|
|
cd sgml && $(TAR) -cf ../$@ `cat HTML.manifest` `echo *.gif | grep -v '\*'` *.css
|
1998-03-01 09:16:16 +01:00
|
|
|
|
1999-07-06 19:13:50 +02:00
|
|
|
man.tar:
|
1999-08-08 17:10:21 +02:00
|
|
|
$(MAKE) -C sgml man
|
2001-09-30 21:09:57 +02:00
|
|
|
$(TAR) -cf $@ -C sgml man1 man$(sqlmansect_dummy)
|