From 320b8447a80e9872d4c13002414ffcf393c93408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 21 May 1998 14:03:09 +0200 Subject: [PATCH] Now possible to specify pike binary to use. Rev: tutorial/Makefile:1.15 --- tutorial/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tutorial/Makefile b/tutorial/Makefile index c7b1771b51..bab1e5c2fa 100644 --- a/tutorial/Makefile +++ b/tutorial/Makefile @@ -2,30 +2,35 @@ all: tutorial.html tutorial_onepage.html # lenna.gif lenna-mirrorx.gif lenna-mirrory.gif lenna-rotate.gif lenna-skewx.gif lenna-skewy.gif -SRCFILES=tutorial.wmml Image.wmml +SRCFILES=tutorial.wmml Image.wmml Mysql.wmml + +pike=pike .DUMMY: tutorial.html: .DUMMY $(SRCFILES) - ./wmmltohtml2 <tutorial.wmml html tutorial + $(pike) ./wmmltohtml2 <tutorial.wmml html tutorial tutorial_onepage.html: .DUMMY $(SRCFILES) - ./wmmltohtml2 <tutorial.wmml html_onepage tutorial_onepage + $(pike) ./wmmltohtml2 <tutorial.wmml html_onepage tutorial_onepage tut.html: .DUMMY $(SRCFILES) - ./wmmltohtml2 <tutorial.wmml sitebuilder tut + $(pike) ./wmmltohtml2 <tutorial.wmml sitebuilder tut manpages: .DUMMY $(SRCFILES) - ./wmmltohtml2 <tutorial.wmml manpages man/man + $(pike) ./wmmltohtml2 <tutorial.wmml manpages man/man Image.wmml : - (cd ../src/modules/Image; make wmml) + (cd ../src/modules/Image; make wmml pike="$(pike)") + +Mysql.wmml : + $(pike) ../bin/mkwmml.pike ../src/modules/Mysql/mysql.c >Mysql.wmml the_image_module_onepage.html: Image.wmml the_image_module.wmml - ./wmmltohtml2 <the_image_module.wmml html_onepage the_image_module_onepage + $(pike) ./wmmltohtml2 <the_image_module.wmml html_onepage the_image_module_onepage the_image_module.html: Image.wmml the_image_module.wmml - ./wmmltohtml2 <the_image_module.wmml html the_image_module + $(pike) ./wmmltohtml2 <the_image_module.wmml html the_image_module clean: rm *.html *.md illustration_cache illustration*.gif -- GitLab