]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: fix version.i?texi generation
authorJohn Mandereau <john.mandereau@gmail.com>
Tue, 29 Dec 2009 21:08:34 +0000 (22:08 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Tue, 29 Dec 2009 22:57:03 +0000 (23:57 +0100)
make/doc-i18n-root-rules.make
stepmake/stepmake/texinfo-rules.make

index d9ae4c39c5fcd0deb544154fe8c17829b9527759..c505bb0c503ee3ef0da45e493357b6ce9a7ee2e2 100644 (file)
@@ -19,9 +19,7 @@ $(top-build-dir)/Documentation/$(outdir)/%.$(ISOLANG).pdf: $(outdir)/%.texi
            mkdir -p $(dir $@) && mv $*.pdf $@
 
 $(outdir)/version.%: $(top-src-dir)/VERSION
-       echo '@macro version'> $@
-       echo $(TOPLEVEL_VERSION)>> $@
-       echo '@end macro'>> $@
+       $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@
 
 $(outdir)/%.png: $(top-build-dir)/Documentation/$(outdir)/%.png
        ln -f $< $@
index a308aae31e319bcd1d8b1b0f2f131b92592acbf2..ef6f83df4ed295bddcbc3c0da12d40c2ca4a5d06 100644 (file)
@@ -75,7 +75,7 @@ $(outdir)/%.pdf.omf: %.texi
        $(call GENERATE_OMF,pdf)
 
 $(outdir)/version.%: $(top-src-dir)/VERSION
-       $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py >> $@
+       $(PYTHON) $(top-src-dir)/scripts/build/create-version-itexi.py > $@
 
 .SECONDARY: $(outdir)/version.itexi $(outdir)/version.texi \
   $(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep \