help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with implicit rules


From: Kosala Atapattu
Subject: help with implicit rules
Date: Tue, 20 Nov 2012 11:04:25 +0530

Hi All,

I'm trying to write a implicit rule to convert a text page to a html using
perl based wiki preprocessor... I got the perl part working but I can't
seem to get Make to do the rest. I have the following make file.

<Makefile>

.SUFFIXES: .html .page

%.html : %.page
        echo $<
        perl compile_page.pl -T template/main.tpl -o $@ $<

</Makefile>

What did I do wrong here.. according to the doc I should be able to do this
rt?

Ko


reply via email to

[Prev in Thread] Current Thread [Next in Thread]