view help/Makefile @ 493:0a17c6e7cb0f stable-1.9.4-3

improve Makefile
author Carl Byington <carl@five-ten-sg.com>
date Tue, 15 Feb 2022 14:07:00 -0800
parents d29cce60f393
children
line wrap: on
line source

a:=../app/src/main/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