mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Merge documentation into one book. (Build with "make html".) Replace
vague cross-references with real links.
This commit is contained in:
@@ -1,39 +1,19 @@
|
||||
# Postgres documentation makefile
|
||||
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.30 2002/11/30 00:22:39 tgl Exp $
|
||||
# $Header: /cvsroot/pgsql/doc/src/Makefile,v 1.31 2003/03/25 16:15:35 petere Exp $
|
||||
|
||||
subdir = doc/src
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global
|
||||
|
||||
ZIPSUFFIX= gz
|
||||
|
||||
BOOKS = admin developer reference programmer tutorial user postgres
|
||||
|
||||
TARGETS= $(BOOKS:%=%.tar.$(ZIPSUFFIX))
|
||||
|
||||
.PRECIOUS:
|
||||
.PHONY: install all sources clean distclean maintainer-clean
|
||||
|
||||
install: all
|
||||
cp -f *.$(ZIPSUFFIX) ..
|
||||
|
||||
clean distclean maintainer-clean:
|
||||
rm -f *.tar *.$(ZIPSUFFIX)
|
||||
rm -f *.tar *.gz
|
||||
$(MAKE) -C sgml $@
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
sources:
|
||||
$(MAKE) sources.tar.$(ZIPSUFFIX)
|
||||
|
||||
sources.tar:
|
||||
$(TAR) -cf $@ sgml graphics
|
||||
|
||||
# Build twice to resolve index entries
|
||||
$(addsuffix .tar, $(BOOKS)):
|
||||
postgres.tar:
|
||||
$(MAKE) -C sgml clean
|
||||
$(MAKE) -C sgml $(basename $@).html
|
||||
$(MAKE) -C sgml $(basename $@).html JADEFLAGS='-V html-manifest'
|
||||
$(MAKE) -C sgml html
|
||||
$(MAKE) -C sgml html JADEFLAGS='-V html-manifest'
|
||||
cd sgml && $(TAR) -cf ../$@ `cat HTML.manifest` `echo *.gif | grep -v '\*'` *.css
|
||||
|
||||
man.tar:
|
||||
|
Reference in New Issue
Block a user