1 --- lilypond-2.18.0.orig/stepmake/stepmake/help2man-rules.make
2 +++ lilypond-2.18.0/stepmake/stepmake/help2man-rules.make
4 -# We must invoke the generated $(outdir)/help2man script instead of
5 -# the help2man.pl source, which means that the scripts/build directory
6 -# must be built first.
8 -# From the perlrun man-page:
10 -# If the #! line does not contain the word "perl", the
11 -# program named after the #! is executed instead of the Perl
12 -# interpreter. This is slightly bizarre, but it helps
14 -# Indeed it is. Perl sucks.
16 -# Two screenfulls explaining that the otherwise standard #! is broken
17 -# for perl, and arguing that this broken magic is better in some
18 -# cases. Four more explaining what a line comment is, and that it may
19 -# be parsed, same here.
21 +# The distributed help2man sucks; use the Debian version instead.
22 ifeq ($(PYTHON),$(TARGET_PYTHON))
23 -HELP2MAN_COMMAND = $(buildscript-dir)/help2man $< > $@
24 +HELP2MAN_COMMAND = help2man $< > $@
26 -HELP2MAN_COMMAND = $(buildscript-dir)/help2man "env $$(basename $$(head -1 $<)) $<" > $@
27 +HELP2MAN_COMMAND = help2man "env $$(basename $$(head -1 $<)) $<" > $@
30 ifeq ($(strip $(CROSS)),no)
32 $(outdir)/%.1: out/%.1
36 -$(buildscript-dir)/help2man:
37 - $(MAKE) -C $(depth)/scripts/build