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:
parent
25cd49d766
commit
ae230491a8
@ -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 $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user