From: Ben Elliston Date: Sat, 24 Dec 2005 10:23:26 +0000 (+0000) Subject: * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in X-Git-Tag: upstream/1.6.2~371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a1dd5bcd9048a5e88f3e2e6664393d56280a645;p=platform%2Fupstream%2Fdejagnu.git * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in case the command fails and zeroes the Texinfo source file. Move the output (if successful) by its default filename using mv(1). * Makefile.in: Regenerate. --- diff --git a/ChangeLog b/ChangeLog index 0833f58..ccbf97d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2005-12-24 Ben Elliston + * Makefile.am (doc/dejagnu.texi): Don't use shell redirection, in + case the command fails and zeroes the Texinfo source file. Move + the output (if successful) by its default filename using mv(1). + * Makefile.in: Regenerate. + +2005-12-24 Ben Elliston + * configure.ac (DOCBOOK2X_TEXI): Add search for this program. * configure: Regenerate. * Makefile.am (DOCBOOK2PDF, DOCBOOK2RTF, DOCBOOK2PS): New. diff --git a/Makefile.am b/Makefile.am index 1d91053..f27d4f2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -220,7 +220,8 @@ html: $(DOCBOOK2HTML) -o html $(srcdir)/doc/dejagnu.xml doc/dejagnu.texi: $(XML) - $(DOCBOOK2X_TEXI) $(srcdir)/doc/dejagnu.xml --to-stdout > $(srcdir)/$@ + $(DOCBOOK2X_TEXI) $(srcdir)/doc/dejagnu.xml + mv untitled.texi $(srcdir)/$@ # Packaging. diff --git a/Makefile.in b/Makefile.in index 645912e..b6c04a4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -80,7 +80,7 @@ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ SOURCES = $(unit_SOURCES) DIST_SOURCES = $(unit_SOURCES) am__dirstamp = $(am__leading_dot)dirstamp -INFO_DEPS = $(srcdir)/doc/untitled.info +INFO_DEPS = $(srcdir)/doc/dejagnu.info am__TEXINFO_TEX_DIR = $(srcdir) DVIS = doc/dejagnu.dvi PDFS = doc/dejagnu.pdf @@ -579,7 +579,7 @@ doc/$(am__dirstamp): @$(mkdir_p) doc @: > doc/$(am__dirstamp) -$(srcdir)/doc/untitled.info: doc/dejagnu.texi +$(srcdir)/doc/dejagnu.info: doc/dejagnu.texi restore=: && backupdir="$(am__leading_dot)am$$$$" && \ am__cwd=`pwd` && cd $(srcdir) && \ rm -rf $$backupdir && mkdir $$backupdir && \ @@ -601,17 +601,17 @@ $(srcdir)/doc/untitled.info: doc/dejagnu.texi fi; \ rm -rf $$backupdir; exit $$rc -doc/untitled.dvi: doc/dejagnu.texi doc/$(am__dirstamp) +doc/dejagnu.dvi: doc/dejagnu.texi doc/$(am__dirstamp) TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \ $(TEXI2DVI) -o $@ `test -f 'doc/dejagnu.texi' || echo '$(srcdir)/'`doc/dejagnu.texi -doc/untitled.pdf: doc/dejagnu.texi doc/$(am__dirstamp) +doc/dejagnu.pdf: doc/dejagnu.texi doc/$(am__dirstamp) TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc' \ $(TEXI2PDF) -o $@ `test -f 'doc/dejagnu.texi' || echo '$(srcdir)/'`doc/dejagnu.texi -doc/untitled.html: doc/dejagnu.texi doc/$(am__dirstamp) +doc/dejagnu.html: doc/dejagnu.texi doc/$(am__dirstamp) rm -rf $(@:.html=.htp) if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I doc -I $(srcdir)/doc \ -o $(@:.html=.htp) `test -f 'doc/dejagnu.texi' || echo '$(srcdir)/'`doc/dejagnu.texi; \ @@ -669,8 +669,8 @@ mostlyclean-aminfo: -rm -rf dejagnu.aux dejagnu.cp dejagnu.cps dejagnu.fn dejagnu.fns dejagnu.ky \ dejagnu.kys dejagnu.log dejagnu.pg dejagnu.pgs dejagnu.tmp \ dejagnu.toc dejagnu.tp dejagnu.tps dejagnu.vr dejagnu.vrs \ - doc/untitled.dvi doc/untitled.pdf doc/untitled.ps \ - doc/untitled.html + doc/dejagnu.dvi doc/dejagnu.pdf doc/dejagnu.ps \ + doc/dejagnu.html maintainer-clean-aminfo: @list='$(INFO_DEPS)'; for i in $$list; do \ @@ -1164,7 +1164,8 @@ html: $(DOCBOOK2HTML) -o html $(srcdir)/doc/dejagnu.xml doc/dejagnu.texi: $(XML) - $(DOCBOOK2X_TEXI) $(srcdir)/doc/dejagnu.xml --to-stdout > $(srcdir)/$@ + $(DOCBOOK2X_TEXI) $(srcdir)/doc/dejagnu.xml + mv untitled.texi $(srcdir)/$@ # Packaging.