Don't convert the man page names to lower case, so that the .so links work.
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 19 Jun 2009 19:14:25 +0000 (19:14 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 19 Jun 2009 19:14:25 +0000 (19:14 +0000)
This is pretty much a workaround for incomplete tools, but having the man
page names in upper case looks more natural anyway.

doc/src/sgml/Makefile

index e7b3d86e88fb71a803c67ef40c6ef64c9ab328a9..d1556797d353f9e27e28b81ba36e0df9a02aca18 100644 (file)
@@ -74,9 +74,9 @@ DEFAULTSECTION = l
 fix_man_xrefs = $(PERL) -npi -e 's{\[XRef to GUC-([A-Z0-9-]*)\]}{($$l = $$1) =~ tr/A-Z-/a-z_/, $$l}ge || s{\[XRef to [A-Z0-9-]*\]}{in the documentation}g'
 
 man: postgres.sgml $(ALLSGML)
-       $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
+       $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
 # One more time, to resolve cross-references
-       $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --lowercase --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
+       $(NSGMLS) $(NSGMLS_FLAGS) $(SGMLINCLUDE) $< | $(SGMLSPL) $(D2MSCRIPT) --section $(DEFAULTSECTION) --date "`date '+%Y-%m-%d'`"
        $(fix_man_xrefs) *.1 *.7
        $(mkinstalldirs) man1 man7
        $(D2MLINKS) < manpage.links