# Summary: convert .m4 file to .html, allowing the use
# of various macros (see stdlib.m4).
# on 'all' line, include list of all html files that exist in
# directory.
# to create .html, just 'make blah.html' once blah.m4 is created
INC = -I /var/www/clanyoda
.SUFFIXES: .m4 .html .shtml
.m4.shtml:
m4 -P $(INC) <$*.m4 >$*.shtml
.m4.html:
m4 -P $(INC) <$*.m4 >$*.html
all: index.shtml
*.html: /var/www/clanyoda/yoda_macros.m4
*.shtml: /var/www/clanyoda/yoda_macros.m4