diff options
author | Kevin Bullock <kbullock@ringworld.org> | 2016-03-22 11:10:29 -0500 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-03-23 11:47:29 -0400 |
commit | 6d8329a424db3f8f3251a58fe581c94f33aa0fd6 (patch) | |
tree | 1eac2779ab10a1516db2cff96cff7e88b1c74889 /Makefile | |
parent | 415a2fecc251895b12351b5d21288ecb41516ca6 (diff) | |
download | moreutils-6d8329a424db3f8f3251a58fe581c94f33aa0fd6.tar.gz |
allow specifying alternate path to docbook-xsl stylesheets
# HG changeset patch
# User Kevin Bullock <kbullock@ringworld.org>
# Date 1458662635 18000
# Tue Mar 22 11:03:55 2016 -0500
# Node ID af8e75c6ab07debc4ad9658be92b3828e0e58613
# Parent 068c251da061eb3a461f288fd7af3eecab2e24f8
allow specifying alternate path to docbook-xsl stylesheets
This eases building the package on other platforms than Debian and
derivatives. For example, with docbook-xsl installed on Mac OS X via
Fink, the package can be successfully built with:
$ make DOCBOOKXSL=/sw/share/xml/xsl/docbook-xsl
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,8 +4,9 @@ MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun. CFLAGS?=-O2 -g -Wall INSTALL_BIN?=install -s PREFIX?=/usr +DOCBOOKXSL?=/usr/share/xml/docbook/stylesheet/docbook-xsl -DOCBOOK2XMAN=xsltproc --param man.authors.section.enabled 0 /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl +DOCBOOK2XMAN=xsltproc --param man.authors.section.enabled 0 $(DOCBOOKXSL)/manpages/docbook.xsl all: $(BINS) $(MANS) |