summaryrefslogtreecommitdiff
path: root/doc/bugs/__91__PATCH__93___Use_correct_perl_when_running_make.html
blob: 9de2a0fa4831e3a7750564f132cf32fb830604ff (plain)
  1. If the Perl used to run Makefile.PL is not first on the PATH, it will not be the one used when make is run. The patch below fixes this.
  2. [[done]], thanks
  3. <pre>
  4. --- Makefile.PL.orig 2008-06-02 10:33:41.000000000 -0500
  5. +++ Makefile.PL 2008-06-02 10:34:00.000000000 -0500
  6. @@ -31,7 +31,7 @@
  7. chmod +x ikiwiki.out
  8. extra_build: ikiwiki.out
  9. - perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
  10. + $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
  11. ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
  12. ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
  13. ./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
  14. </pre>