]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/help2man-rules.make
patch::: 1.3.38.jcn1
[lilypond.git] / stepmake / stepmake / help2man-rules.make
1 # ugh. 
2 # Man-page:
3 #       If the #! line does not contain the word "perl", the
4 #       program named after the #! is executed instead of the Perl
5 #       interpreter.  This is slightly bizarre, but it helps
6 # Indeed it is. Perl sucks.
7 #
8 $(outdir)/%.1: $(outdir)/%
9         $(PERL) $(depth)/buildscripts/$(outdir)/help2man $< > $@ || \
10         (echo ""; echo "Apparently the man pages failed to build. This is";\
11         echo "no problem, since they don't contain any information anyway.";\
12         echo "Please run make again, and be prepared for NO manual pages.")
13
14 $(outdir)/%.1: out/%.1
15         cp $< $@