Files
bsdports/data/postgresql96/files/patch-x-doc-src-sgml-Makefile
2019-12-26 07:26:06 +00:00

47 lines
1.0 KiB
Plaintext

--- ./doc/src/sgml/Makefile.orig 2016-01-04 23:29:34.000000000 +0200
+++ ./doc/src/sgml/Makefile 2016-02-06 13:13:49.328191000 +0200
@@ -15,7 +15,7 @@
# Make "html" the default target, since that is what most people tend
# to want to use.
-html:
+man:
NO_TEMP_INSTALL=yes
@@ -24,7 +24,7 @@
include $(top_builddir)/src/Makefile.global
-all: html man
+all: man
distprep: html distprep-man
@@ -81,8 +81,6 @@
## Man pages
##
-man distprep-man: man-stamp
-
man-stamp: stylesheet-man.xsl postgres.xml
$(XMLLINT) --noout --valid postgres.xml
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTPROC_MAN_FLAGS) $^
@@ -326,14 +324,14 @@
## Install
##
-install: install-html
+install: install-man
ifneq ($(PORTNAME), sco)
install: install-man
endif
installdirs:
- $(MKDIR_P) '$(DESTDIR)$(htmldir)'/html $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum))
+ $(MKDIR_P) $(addprefix '$(DESTDIR)$(mandir)'/man, 1 3 $(sqlmansectnum))
# If the install used a man directory shared with other applications, this will remove all files.
uninstall: