Mercurial > 510Connectbot
annotate 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 |
rev | line source |
---|---|
438
d29cce60f393
migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
360
diff
changeset
|
1 a:=../app/src/main/assets/help |
360
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
2 b:=../html |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
3 |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
4 all: |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
5 [ -d $(a) ] || mkdir -p $(a) |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
6 [ -d $(b) ] || mkdir -p $(b) |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
7 for i in *.html.in; do \ |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
8 f=$$(basename $$i .in); \ |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
9 cat header.android $$i footer >$(a)/$$f; \ |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
10 cat header.browser $$i footer >$(b)/$$f; \ |
7eb24880b111
add help files to the web documentation
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
11 done |