head	1.1;
access;
symbols;
locks;
comment	@# @;


1.1
date	2016.09.20.02.50.16;	author vogelke;	state Exp;
branches;
next	;


desc
@checkin
@


1.1
log
@Initial revision
@
text
@# Read templates, generate html files.
#
# $Revision: 1.1+1 $ $Date: 2016/09/20 02:49:46 $
# $Source: /home/vogelke/projects/autoindex/templates/MKRCS,v $
# $Host: bsd118.wpafb.af.mil $
# $UUID: 04943e7d-4c44-50ff-aa86-49391b5c23f1 $
#
# Create HTML files to be included when showing a directory listing.

DEST = /home/vogelke/notebook

%.htm : %.tpl
	m4 $< > $@@

all:
	-for s in *.tpl; do \
		dir=`echo $$s | sed -e 's/\.tpl//'`; \
		make $$dir.htm; \
		test -d $(DEST)/$$dir && mv $$dir.htm $(DEST)/$$dir/.calendar; \
	done

clean:
	rm -f *.htm
@
