Skip to content

Commit

Permalink
man/Makefile.am: Use POSIX suffix rules
Browse files Browse the repository at this point in the history
* These work with `bmake`/`pmake`
  • Loading branch information
SoapGentoo authored and dbry committed Apr 26, 2021
1 parent ca6146d commit 5f1b411
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions man/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
man_MANS = wavpack.1 wvgain.1 wvunpack.1 wvtag.1
dist_man_MANS = wavpack.1 wvgain.1 wvunpack.1 wvtag.1

if ENABLE_MAN
%.1: %.xml
.xml.1:
$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

SUFFIXES = .1 .xml
endif

EXTRA_DIST = $(man_MANS) $(patsubst %.1,%.xml,$(man_MANS))
EXTRA_DIST = wavpack.xml wvgain.xml wvunpack.xml wvtag.xml

MAINTAINERCLEANFILES = \
$(man_MANS) \
Expand Down

0 comments on commit 5f1b411

Please sign in to comment.