1 ifneq ($(outdir),./out)
6 # We must invoke the generated $(outdir)/help2man script instead of
7 # the help2man.pl source, which means that the buildscripts directory
10 # From the perlrun man-page:
12 # If the #! line does not contain the word "perl", the
13 # program named after the #! is executed instead of the Perl
14 # interpreter. This is slightly bizarre, but it helps
16 # Indeed it is. Perl sucks.
18 # Two screenfulls explaining that the otherwise standard #! is broken
19 # for perl, and arguing that this broken magic is better in some
20 # cases. Four more explaining what a line comment is, and that it may
21 # be parsed, same here.
23 HELP2MAN_COMMAND = $(PERL) $(builddir)/buildscripts/$(outbase)/help2man $< > $@
25 $(outdir)/%.1: $(outdir)/%