diff options
author | Eric Christopher <echristo@apple.com> | 2006-02-04 00:23:30 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2006-02-04 00:23:30 +0000 |
commit | 1e0de6e913af8c1e9d65121c880960752fd4f190 (patch) | |
tree | e177ca8e19614b076647b76bfae5c5cd9010a555 /doc/genpsdriver.pl | |
parent | a5f0000db010e84d4508a8aa480e4360b6609718 (diff) | |
download | nasm-1e0de6e913af8c1e9d65121c880960752fd4f190.tar.gz |
Fix documentation building for non-srcdir builds. Still bugs in .ps implementation.
Add Mach-O documentation.
Diffstat (limited to 'doc/genpsdriver.pl')
-rw-r--r-- | doc/genpsdriver.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/genpsdriver.pl b/doc/genpsdriver.pl index 0136e3e1..dd9b7a7f 100644 --- a/doc/genpsdriver.pl +++ b/doc/genpsdriver.pl @@ -11,11 +11,12 @@ use File::Spec; use Fcntl; +use Env; -$perl = $ENV{'PERL'} || 'perl'; -$srcdir = $ENV{'srcdir'} || File::Spec->curdir(); +$perl = $ENV{PERL} || 'perl'; +$srcdir = $ENV{srcdir} || File::Spec->curdir(); -$versionfile = File::Spec->catfile(File::Spec->updir($srcdir), 'version'); +$versionfile = File::Spec->catfile($srcdir, File::Spec->updir(), 'version'); $genps = File::Spec->catfile($srcdir, 'genps.pl'); sysopen(VERSION, $versionfile, O_RDONLY) |