]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make man/install-help2man: use LILYPOND_EXTERNAL_BINARY if set release/2.17.0-1
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 27 Aug 2012 13:52:15 +0000 (15:52 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 27 Aug 2012 13:55:29 +0000 (15:55 +0200)
This should help GUB build.

lily/GNUmakefile

index abb48fe5ae1324c06f850c6ee4fd4775f2ce606c..e67a8836758a4a2f9e578bf0b7427218995ba6de 100644 (file)
@@ -77,6 +77,11 @@ endif
 $(outdir)/lexer.cc: $(config_h)
 $(outdir)/parser.cc: $(config_h)
 
+ifneq ($(LILYPOND_EXTERNAL_BINARY),)
+$(outdir)/lilypond.1: $(LILYPOND_EXTERNAL_BINARY) $(buildscript-dir)/help2man
+       $(buildscript-dir)/help2man $(LILYPOND_EXTERNAL_BINARY) > $@
+endif
+
 $(outdir)/general-scheme.o: $(outdir)/version.hh
 $(outdir)/lily-guile.o: $(outdir)/version.hh
 $(outdir)/lily-version.o: $(outdir)/version.hh