From 0f3101e3f5959438dad1c9dae68f38053e11002e Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 5 Dec 2008 09:32:15 +0000 Subject: [PATCH] better integration of man page build system into overall autofoo nonsense git-svn-id: http://subversion.jackaudio.org/jack/trunk/jack@3168 0c269be4-1314-0410-8aa9-9f06e86f4224 --- Makefile.am | 4 ++-- man/Makefile.am | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 86bb029..e28a23d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,8 +13,8 @@ dist-check-doxygen: @false endif -SUBDIRS = jack libjack jackd drivers example-clients tools config $(DOC_DIR) -DIST_SUBDIRS = config jack libjack jackd drivers example-clients tools doc +SUBDIRS = jack libjack jackd drivers example-clients tools config $(DOC_DIR) man +DIST_SUBDIRS = config jack libjack jackd drivers example-clients tools doc man pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = jack.pc diff --git a/man/Makefile.am b/man/Makefile.am index 5b5e356..8d36562 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -2,9 +2,13 @@ @sed -e "s/!VERSION!/@JACK_RELEASE@/g" -e "s/!DATE!/`date '+%B %Y'`/g" < $*.0 > $@ @echo Built $*.1 from template -manpages := $(patsubst %.0,%.1,$(wildcard *.0)) +manpages = $(patsubst %.0,%.1,$(wildcard *.0)) -all: $(manpages) +clean-local: + -rm -rf $(manpages) -clean: - -rm $(manpages) \ No newline at end of file +man1_MANS = $(manpages) + +BUILT_SOURCES = $(manpages) + +dist_man_MANS = $(manpages) -- 2.11.4.GIT