diff --git a/doc/Makefile.am b/doc/Makefile.am index bc158506..c9752c84 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,10 +1,9 @@ SUBDIRS = doxygen manual devref dist_man1_MANS = form.1 -.PHONY: clean-local update_version_man +.PHONY: update_version_man -clean-local: - rm form.1 +CLEANFILES = form.1 form.1: update_version_man $(UPDATE_VERSION_MAN) diff --git a/doc/devref/Makefile.am b/doc/devref/Makefile.am index 6b230451..c408421e 100644 --- a/doc/devref/Makefile.am +++ b/doc/devref/Makefile.am @@ -12,7 +12,7 @@ TEXFILES = $(TEXSRC) $(MAIN).tex version.tex EXTRA_DIST = $(TEXSRC) -.PHONY: dvi latex2html html ps pdf clean-local update_version_tex +.PHONY: dvi latex2html html ps pdf update_version_tex # NOTE: htlatex invalidate .aux, .idx, .dvi files. HTMLCLEANFILES = idxmake.dvi idxmake.log $(MAIN).4ct $(MAIN).4dx $(MAIN).4ix \ diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am index 7ac41c6f..ccd944b0 100644 --- a/doc/manual/Makefile.am +++ b/doc/manual/Makefile.am @@ -29,7 +29,7 @@ TEXFILES = $(TEXSRC) $(MAIN).tex version.tex EXTRA_DIST = $(TEXSRC) -.PHONY: dvi latex2html html ps pdf clean-local update_version_tex +.PHONY: dvi latex2html html ps pdf update_version_tex # NOTE: htlatex invalidate .aux, .idx, .dvi files. HTMLCLEANFILES = idxmake.dvi idxmake.log $(MAIN).4ct $(MAIN).4dx $(MAIN).4ix \