Files
bsdports/data/postgresql15/files/patch-x-doc-src-sgml-Makefile
2024-03-08 08:21:10 +02:00

42 lines
1.0 KiB
Plaintext

--- ./doc/src/sgml/Makefile.orig 2022-02-07 23:15:36.000000000 +0200
+++ ./doc/src/sgml/Makefile 2022-02-23 20:23:06.825980000 +0200
@@ -15,7 +15,7 @@
# Make "html" the default target, since that is what most people tend
# to want to use.
-html:
+man:
# We don't need the tree-wide headers or install support here.
NO_GENERATED_HEADERS=yes
@@ -26,7 +26,7 @@
include $(top_builddir)/src/Makefile.global
-all: html man
+all: man
distprep: html distprep-man
@@ -65,7 +65,6 @@
## Man pages
##
-man distprep-man: man-stamp
man-stamp: stylesheet-man.xsl postgres.sgml $(ALLSGML)
$(XMLLINT) $(XMLINCLUDE) --noout --valid $(word 2,$^)
@@ -220,10 +219,10 @@
## Install
##
-install: install-html install-man
+install: install-man
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: