From: Lyndon Nerenberg Date: Tue, 16 Oct 2012 19:36:30 +0000 (-0700) Subject: Add new make targets 'man' and 'cleanman' to build and clean just X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=a7b486a1109693152a46f71a0409385c5d6024d4;p=mmh 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. --- 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: