shithub: img

ref: 743c38b176b1e9ce68d07a4e65d5d04ce5d29e8f
dir: /mkfile/

View raw version
MKSHELL=/bin/rc

years=`{ls | grep '^[0-9][0-9][0-9][0-9]$' | sort -r}

fullsize=`{find $years -type f -name '*.full.*'}

montages=`{echo $years/^montage.jpg}

index.html:D: $montages ./mkindex.rc ./mkfile
	./mkindex.rc $years >index.html

%/montage.jpg: subdirs

subdirs:V:
	for(d in $years)@{
		cd $d
		mk -f ../year.mk
	}

html clean nuke:V:
	for(d in $years)@{
		cd $d
		mk -f ../year.mk $target
	}