# HG changeset patch # User Rik # Date 1261085309 28800 # Node ID 8561ecc4431701e0fc6507dc8163b504f133c598 # Parent 929e53107f09c413a9c3a4d1f99d11be4ba6ae4d Use automake syntax to build munge-texi diff -r 929e53107f09 -r 8561ecc44317 doc/ChangeLog --- a/doc/ChangeLog Thu Dec 17 11:08:26 2009 -0800 +++ b/doc/ChangeLog Thu Dec 17 13:28:29 2009 -0800 @@ -1,3 +1,7 @@ +2009-12-17 Rik + + * interpreter/Makefile.am: use automake syntax to build munge-texi. + 2009-12-11 Rik * interpreter/Makefile.am: remove install-local target and use automake diff -r 929e53107f09 -r 8561ecc44317 doc/interpreter/Makefile.am --- a/doc/interpreter/Makefile.am Thu Dec 17 11:08:26 2009 -0800 +++ b/doc/interpreter/Makefile.am Thu Dec 17 13:28:29 2009 -0800 @@ -33,6 +33,10 @@ TEXMFCNF := "..$(PATH_SEPARATOR)$(srcdir)/..$(PATH_SEPARATOR)$(TEXMFCNF)$(PATH_SEPARATOR)" export TEXMFCNF +## Automake generated rules for documentation are not parallel-safe. +## Restrict current directory to run serially +.NOTPARALLEL: + dist_man1_MANS = \ mkoctfile.1 \ octave-bug.1 \ @@ -171,10 +175,12 @@ doc-cache: $(DOCSTRING_FILES) mk_doc_cache.m $(TOPDIR)/run-octave -f -q -H $(srcdir)/mk_doc_cache.m doc-cache $(DOCSTRING_FILES) || { rm -f doc-cache; exit 1; } -$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) munge-texi.cc +## Program compiled only to help build documentation. No need to install +noinst_PROGRAMS = munge-texi -munge-texi$(BUILD_EXEEXT): munge-texi.cc - $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) +munge_texi_SOURCES = munge-texi.cc + +$(MUNGED_TEXI_SRC): $(DOCSTRING_FILES) $(munge_texi_SOURCES) .txi.texi: @$(MAKE) $(AM_MAKEFLAGS) munge-texi$(BUILD_EXEEXT) @@ -205,7 +211,6 @@ images.mk \ mk_doc_cache.m \ mkcontrib.awk \ - munge-texi.cc \ octave.dvi \ octave.html \ octave.pdf \ @@ -214,10 +219,7 @@ $(IMAGES_SRC) \ $(TXI_SRC) -DISTCLEANFILES = $(octave_TEXINFOS) doc-cache munge-texi$(BUILD_EXEEXT) +DISTCLEANFILES = $(octave_TEXINFOS) doc-cache MAINTAINERCLEANFILES = $(IMAGES) -## Automake generated rules for documentation are not parallel-safe. -## Restrict current directory to run serially -.NOTPARALLEL: