From e1ea9c13f9d15c4f9bf1372678fe9827be626be0 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 6 Sep 2004 14:04:56 +0000 Subject: * make the output a little more silent (do not echo the make commands) * use the better "touch" method by Frantisek * introduce a distcheck_lax variable for those who want to do a distcheck, but are too lazy to install all the tools (of course this should never be used for an actual release) CVS patchset: 6943 CVS date: 2004/09/06 14:04:56 --- doc/hackersguide/Makefile.am | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 34dc05c56..4849117ae 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -32,40 +32,44 @@ clean-docs: test "x$(srcdir)" = x. || rm -f $(hackersguide_sgml) dist-hook: - @make fail_if_missing=yes docs +ifndef distcheck_lax + @$(MAKE) fail_if_missing=yes docs +else + @$(MAKE) docs +endif if HAVE_SGMLTOOLS hackersguide.html: $(hackersguide_sgml) - $(MAKE) docs-prepare + @$(MAKE) docs-prepare $(SGMLTOOLS) -b onehtml hackersguide.sgml; else hackersguide.html: $(hackersguide_sgml) - $(MAKE) docs-prepare + @$(MAKE) docs-prepare if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ fi - -if test x"$(fail_if_missing)" != x"yes"; then \ + if test x"$(fail_if_missing)" != x"yes"; then \ touch $@; \ sleep 1; \ - touch $^; \ + touch $(notdir $^); \ fi endif if HAVE_FIG2DEV %.png: %.fig - $(MAKE) docs-prepare + @$(MAKE) docs-prepare $(FIG2DEV) -L png -S 4 $< $@; else %.png: %.fig - $(MAKE) docs-prepare + @$(MAKE) docs-prepare if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install fig2dev."; \ exit 1; \ fi - -if test x"$(fail_if_missing)" != x"yes"; then \ + if test x"$(fail_if_missing)" != x"yes"; then \ touch $@; \ sleep 1; \ - touch $^; \ + touch $(notdir $^); \ fi endif -- cgit v1.2.3