summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-10-02 13:38:50 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-10-02 13:38:50 +0000
commiteb17f95e164520e0e5b0c665ad1ffc8323c7293f (patch)
tree2bd3d681633053bd3c7504e43796b198f3a59b50
parente086aca6c5bdf1314fa903b1c391e04e569a8ef0 (diff)
downloadsamba-eb17f95e164520e0e5b0c665ad1ffc8323c7293f.tar.gz
samba-eb17f95e164520e0e5b0c665ad1ffc8323c7293f.tar.bz2
samba-eb17f95e164520e0e5b0c665ad1ffc8323c7293f.zip
Remove manpage when there are errors during generation
(This used to be commit ae230491a8860a1846bd272d6455119a5bc99dd5)
-rw-r--r--docs/docbook/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in
index c79c9008ff..499c1742b8 100644
--- a/docs/docbook/Makefile.in
+++ b/docs/docbook/Makefile.in
@@ -101,7 +101,7 @@ $(HTMLDIR)/%.html: $(MANSGMLDIR)/%.sgml
mv $(HTMLDIR)/index.html $@
$(MANDIR)/%: $(MANSGMLDIR)/%.sgml
- $(DOCBOOK2MAN) -o $(MANDIR) $<
+ $(DOCBOOK2MAN) -o $(MANDIR) $< || rm $@
$(PERL) scripts/strip-links.pl < $@ > $@.temp
mv $@.temp $@