From: Frank Mori Hess Date: Tue, 15 Jul 2003 15:58:28 +0000 (+0000) Subject: refined handling of built directories X-Git-Tag: r0_7_21~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=092659f27deebc8e9c971181652f3f6b0ca372f2;p=comedilib.git refined handling of built directories --- diff --git a/doc/Makefile.am b/doc/Makefile.am index f919d88..4e9eb84 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -27,13 +27,11 @@ $(DOC).pdf: $(DOC).sgml $(SGML) $(JW_PATH) -f docbook -b pdf $(DOC).sgml html: $(DOC).sgml $(SGML) - mkdir -p html - $(JW_PATH) -f docbook -b html -o html $(DOC).sgml && touch html + { $(JW_PATH) -f docbook -b html -o html $(DOC).sgml && touch html; } || { $(RM) -r html; exit 1; } ln -sf ../acq-seq.gif html/acq-seq.gif man: $(DOC).sgml $(SGML) - mkdir -p man - -$(JW_PATH) -f docbook -b man -o man $(DOC).sgml && touch man + -{ $(JW_PATH) -f docbook -b man -o man $(DOC).sgml && touch man; } || { $(RM) -r man; exit 1; } funcref.sgml: funcref mkref ./mkref funcref >funcref.sgml