# HG changeset patch # User Bruno Haible # Date 1238668842 -7200 # Node ID 6d0f0ffb76587a00da30a501b63b39277e9eb2a9 # Parent 66a365760f8bab03906d2917b9e79e5759fea456 Combine 4 Makefile rules. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-02 Bruno Haible + + * Makefile (info, html, dvi, pdf): Combine the rules. + Suggested by Jim Meyering. + 2009-04-01 Bruno Haible * Makefile (info, html, dvi, pdf): New targets. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -9,14 +9,8 @@ all: # Produce the documentation in readable form. -info: - cd doc && $(MAKE) info -html: - cd doc && $(MAKE) html -dvi: - cd doc && $(MAKE) dvi && $(MAKE) mostlyclean -pdf: - cd doc && $(MAKE) pdf && $(MAKE) mostlyclean +info html dvi pdf: + cd doc && $(MAKE) $@ && $(MAKE) mostlyclean # Perform some platform independent checks on the gnulib code. check: