summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-09-06 14:04:56 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-09-06 14:04:56 +0000
commite1ea9c13f9d15c4f9bf1372678fe9827be626be0 (patch)
treefb32bd15dc65d1734369f02075e376380927146a
parent5c0c3b40c1bf4d2380e702bd7c3fc8903e802393 (diff)
downloadxine-lib-e1ea9c13f9d15c4f9bf1372678fe9827be626be0.tar.gz
xine-lib-e1ea9c13f9d15c4f9bf1372678fe9827be626be0.tar.bz2
* 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
-rw-r--r--doc/hackersguide/Makefile.am22
1 files changed, 13 insertions, 9 deletions
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