3 # Runs the equivalent of the following command line:
5 # $(PERL) $(srcdir)/genps.pl -subtitle "version `cat ../version`" \
8 # This is implemented as a Perl script since `cat ...` doesn't
9 # necessarily work on non-Unix systems.
12 $perl = $ENV{'PERL'} || 'perl';
13 $srcdir = $ENV{'srcdir'} || '.';
15 open(VERSION
, '< ../version') or die "$0: cannot open ../version\n";
20 system($perl, "${srcdir}/genps.pl", '-subtitle',
21 'version '.$version, 'nasmdoc.dip');