diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/faq/Makefile.am | 10 | ||||
-rw-r--r-- | doc/hackersguide/Makefile.am | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index 311be2615..7b602a5b8 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -20,11 +20,11 @@ clean-docs: test "x$(srcdir)" = x. || rm -f faq.sgml dist-hook: -ifndef distcheck_lax - @$(MAKE) fail_if_missing=yes docs -else - @$(MAKE) docs -endif + @if test x"$(distcheck_lax)" = x ; then \ + $(MAKE) fail_if_missing=yes docs ; \ + else \ + $(MAKE) docs ; \ + fi if HAVE_SGMLTOOLS faq.html: faq.sgml diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 4849117ae..4fe0d06ad 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -32,11 +32,11 @@ clean-docs: test "x$(srcdir)" = x. || rm -f $(hackersguide_sgml) dist-hook: -ifndef distcheck_lax - @$(MAKE) fail_if_missing=yes docs -else - @$(MAKE) docs -endif + @if test x"$(distcheck_lax)" = x ; then \ + $(MAKE) fail_if_missing=yes docs ; \ + else \ + $(MAKE) docs ; \ + fi if HAVE_SGMLTOOLS hackersguide.html: $(hackersguide_sgml) |