summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)