postgresql/doc/src/Makefile

42 lines
950 B
Makefile
Raw Normal View History

1998-03-01 03:16:16 -05:00
# Postgres documentation makefile
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.29 2002/07/28 15:19:59 petere Exp $
1998-03-01 03:16:16 -05:00
subdir = doc/src
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
1998-03-01 03:16:16 -05:00
ZIPSUFFIX= gz
1998-03-01 03:16:16 -05:00
BOOKS = admin developer reference programmer tutorial user postgres
1998-03-01 03:16:16 -05:00
TARGETS= $(BOOKS:%=%.tar.$(ZIPSUFFIX))
1998-03-01 03:16:16 -05:00
.PRECIOUS:
.PHONY: install all sources clean distclean
1998-03-01 03:16:16 -05:00
install:
1998-03-01 03:16:16 -05:00
$(MAKE) all
(mv -f *.$(ZIPSUFFIX) ..)
clean distclean maintainer-clean:
$(MAKE) -C sgml $@
1998-03-01 03:16:16 -05:00
all: $(TARGETS)
1998-03-01 03:16:16 -05:00
sources:
$(MAKE) sources.tar.$(ZIPSUFFIX)
1998-03-01 03:16:16 -05:00
sources.tar:
$(TAR) -cf $@ sgml graphics
2001-11-25 17:17:27 -05:00
# Build twice to resolve index entries
$(addsuffix .tar, $(BOOKS)):
1998-03-01 03:16:16 -05:00
$(MAKE) -C sgml clean
$(MAKE) -C sgml $(basename $@).html
$(MAKE) -C sgml $(basename $@).html JADEFLAGS='-V html-manifest'
cd sgml && $(TAR) -cf ../$@ `cat HTML.manifest` `echo *.gif | grep -v '\*'` *.css
1998-03-01 03:16:16 -05:00
man.tar:
$(MAKE) -C sgml man
2001-09-30 15:09:57 -04:00
$(TAR) -cf $@ -C sgml man1 man$(sqlmansect_dummy)