1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00

Remove manpage when there are errors during generation

This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 25cd49d766
commit ae230491a8

View File

@ -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 $@