mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +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 $@
|
mv $(HTMLDIR)/index.html $@
|
||||||
|
|
||||||
$(MANDIR)/%: $(MANSGMLDIR)/%.sgml
|
$(MANDIR)/%: $(MANSGMLDIR)/%.sgml
|
||||||
$(DOCBOOK2MAN) -o $(MANDIR) $<
|
$(DOCBOOK2MAN) -o $(MANDIR) $< || rm $@
|
||||||
$(PERL) scripts/strip-links.pl < $@ > $@.temp
|
$(PERL) scripts/strip-links.pl < $@ > $@.temp
|
||||||
mv $@.temp $@
|
mv $@.temp $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user