From 3eaa5c91d7e7d012e050e54b7ee6b27db22efb19 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 12 Jan 2009 18:55:56 -0500 Subject: [PATCH] export installdir For use by Setup/Automator --- IkiWiki.pm | 2 +- pm_filter | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index 4601d8590..ca483a111 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -26,7 +26,7 @@ our @EXPORT = qw(hook debug error template htmlpage add_depends pagespec_match %pagesources %destsources); our $VERSION = 3.00; # plugin interface version, next is ikiwiki version our $version='unknown'; # VERSION_AUTOREPLACE done by Makefile, DNE -my $installdir=''; # INSTALLDIR_AUTOREPLACE done by Makefile, DNE +our $installdir=''; # INSTALLDIR_AUTOREPLACE done by Makefile, DNE # Optimisation. use Memoize; diff --git a/pm_filter b/pm_filter index 5ee5a1b98..71f26fae8 100755 --- a/pm_filter +++ b/pm_filter @@ -7,7 +7,7 @@ BEGIN { } if (/INSTALLDIR_AUTOREPLACE/) { - $_=qq{my \$installdir="$prefix";}; + $_=qq{our \$installdir="$prefix";}; } elsif (/VERSION_AUTOREPLACE/) { $_=qq{our \$version="$ver";}; -- 2.26.2