Skip to content
Snippets Groups Projects
Commit 320b8447 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now possible to specify pike binary to use.

Rev: tutorial/Makefile:1.15
parent aa537c98
No related branches found
No related tags found
No related merge requests found
...@@ -2,30 +2,35 @@ all: tutorial.html tutorial_onepage.html ...@@ -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 # 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: .DUMMY:
tutorial.html: .DUMMY $(SRCFILES) tutorial.html: .DUMMY $(SRCFILES)
./wmmltohtml2 <tutorial.wmml html tutorial $(pike) ./wmmltohtml2 <tutorial.wmml html tutorial
tutorial_onepage.html: .DUMMY $(SRCFILES) tutorial_onepage.html: .DUMMY $(SRCFILES)
./wmmltohtml2 <tutorial.wmml html_onepage tutorial_onepage $(pike) ./wmmltohtml2 <tutorial.wmml html_onepage tutorial_onepage
tut.html: .DUMMY $(SRCFILES) tut.html: .DUMMY $(SRCFILES)
./wmmltohtml2 <tutorial.wmml sitebuilder tut $(pike) ./wmmltohtml2 <tutorial.wmml sitebuilder tut
manpages: .DUMMY $(SRCFILES) manpages: .DUMMY $(SRCFILES)
./wmmltohtml2 <tutorial.wmml manpages man/man $(pike) ./wmmltohtml2 <tutorial.wmml manpages man/man
Image.wmml : 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 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 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: clean:
rm *.html *.md illustration_cache illustration*.gif rm *.html *.md illustration_cache illustration*.gif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment