From a7b486a1109693152a46f71a0409385c5d6024d4 Mon Sep 17 00:00:00 2001 From: Lyndon Nerenberg Date: Tue, 16 Oct 2012 12:36:30 -0700 Subject: [PATCH] Add new make targets 'man' and 'cleanman' to build and clean just the man/ sub-directory. I also removed the '@' supressors for the internal manpage targets. There's no net benefit to hiding this stuff. --- Makefile.am | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8c571d2..389a6b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -549,19 +549,26 @@ man/man.sed: Makefile @echo ' s,%mhl_reply%,,g' >> $@ man/mh-chart.man: - @$(srcdir)/man/mh-chart-gen.sh > $@ + $(srcdir)/man/mh-chart-gen.sh > $@ .man.$(manext1): - @$(SED) -f man/man.sed $< > $@ + $(SED) -f man/man.sed $< > $@ .man.$(manext5): - @$(SED) -f man/man.sed $< > $@ + $(SED) -f man/man.sed $< > $@ .man.$(manext7): - @$(SED) -f man/man.sed $< > $@ + $(SED) -f man/man.sed $< > $@ .man.$(manext8): - @$(SED) -f man/man.sed $< > $@ + $(SED) -f man/man.sed $< > $@ + +man: $(man_MANS) + +cleanman: + rm -f $(man_MANS) + +.PHONY: man cleanman ## Don't include commit hashes in ChangeLog. ChangeLog: -- 1.7.10.4