summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-26 01:22:02 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-26 01:22:02 -0500
commit90bd8bed448b85e1aca463ff7f7ea4802aa1b482 (patch)
treedd11eb5c3939c6f96a377905d00347d5b157dfdb
parentcfac5204bf730b75628fbe7c1b3131b60f189071 (diff)
Whoops, I broke pdf.js
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0b387b0..1d7b953 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ $(notdir $(pdfjs)):
www/pdfjs: $(notdir $(pdfjs))
rm -rf -- $@
- mkdir -- $@ && bsdtar -xf $(abspath $<) -C $@ --strip-components 1 --exclude '*.pdf' || rm -rf -- $@
+ mkdir -- $@ && bsdtar -xf $(abspath $<) -C $@ --exclude '*.pdf' || rm -rf -- $@
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 > $@