summaryrefslogtreecommitdiff
path: root/doc/src/Makefile
blob: 6ce8777d10e5f6136c15457b7ed7d68f2abf49a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Postgres documentation makefile
# $PostgreSQL: pgsql/doc/src/Makefile,v 1.33 2006/12/02 01:25:50 petere Exp $

subdir = doc/src
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

clean distclean maintainer-clean:
	rm -f *.tar *.gz
	$(MAKE) -C sgml $@

# Build twice to resolve index entries
postgres.tar:
	$(MAKE) -C sgml clean
	$(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:
	$(MAKE) -C sgml man
	rm sgml/man$(sqlmansect_dummy)/spi_*
	$(TAR) -cf $@ -C sgml man1 man$(sqlmansect_dummy)