view help/Makefile @ 378:4d5cb1e185e1

remove redundancy from makefile
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 15:02:05 -0700
parents 7eb24880b111
children d29cce60f393
line wrap: on
line source

a:=../assets/help
b:=../html

all:
	[ -d $(a) ] || mkdir -p $(a)
	[ -d $(b) ] || mkdir -p $(b)
	for i in *.html.in; do \
		f=$$(basename $$i .in); \
		cat header.android $$i footer >$(a)/$$f; \
		cat header.browser $$i footer >$(b)/$$f; \
	done