summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-03 23:23:02 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-03 23:23:02 -0500
commitcfb528255da8bedbbc61dec38feca4ee2e64778b (patch)
tree9c617a4851a4ded2298ba522a2a064c95eb384aa /Makefile
parent1d1ff49abf358ecccb0308fcb2a6b139a8443b18 (diff)
add checklists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 99c650e..5a04222 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ sources = \
www/FIRST_Safety_Manual.pdf \
www/pdfjs \
www/css/index.css \
- www/MSDS.html
+ www/MSDS.html \
+ www/checklists.html
browser-targets = platforms/browser/build/package.zip
@@ -93,7 +94,8 @@ www/pdfjs: $(notdir $(pdfjs))
www/MSDS.html: www/MSDS.html.in www/MSDS Makefile
ls www/MSDS | $(GSED) 'p;s/_/ /g' | $(GSED) -r 'N;s,^(.*)\n(.*)\.pdf,<a href="pdfjs/web/viewer.html?file=../../MSDS/\1">\2</a>,' | $(GSED) $$'/@list@/{ s/@list@//; r/dev/stdin\n}' www/MSDS.html.in > $@
-
+www/checklists.html: www/checklists.html.in www/checklists Makefile
+ ls www/checklists | $(GSED) 'p;s/_/ /g' | $(GSED) -r 'N;s,^(.*)\n(.*)\.html,<a href="./checklists/\1">\2</a>,' | $(GSED) $$'/@list@/{ s/@list@//; r/dev/stdin\n}' www/checklists.html.in > $@
platforms/android/res/drawable/icon.png: www/img/logo.png | platforms/android
mkdir -p $(@D)