1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Ship documentation without intermediate tarballs

Documentation files in HTML and man formats are now prepared for
distribution using the distprep make target, like everything else.  They
are placed in doc/src/sgml/html and manX and installed from there by
make install, if present.  The business with the tarballs in the tarball
is gone.
This commit is contained in:
Peter Eisentraut
2009-08-09 22:47:59 +00:00
parent 97e14f6e93
commit ed9208829a
8 changed files with 163 additions and 180 deletions

View File

@@ -1,18 +1,8 @@
# Postgres documentation makefile
# $PostgreSQL: pgsql/doc/src/Makefile,v 1.36 2009/08/05 19:31:50 alvherre Exp $
# $PostgreSQL: pgsql/doc/src/Makefile,v 1.37 2009/08/09 22:47:59 petere Exp $
subdir = doc/src
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
clean distclean maintainer-clean:
rm -f *.tar *.gz
all distprep html man install installdirs uninstall clean distclean maintainer-clean:
$(MAKE) -C sgml $@
postgres.tar:
$(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
$(TAR) -cf $@ -C sgml man1 man3 man7