Commit 4aac33b4 authored by Jared Jennings's avatar Jared Jennings
Browse files

fix Makefile to work: apparently globs with curly braces like `*.{foo,bar}`...

fix Makefile to work: apparently globs with curly braces like `*.{foo,bar}` don't work, not sure why, not finding out
parent 52751051
......@@ -12,9 +12,10 @@ all: .get-fonts-stamp .put-fonts-stamp .dist-stamp
touch $@
.put-fonts-stamp: .get-fonts-stamp
rm -rf $(STEM)
unzip $(ZIP)
for fontfile in $(STEM)/fonts/*.{eot,svg,ttf,woff,woff2}; do \
mv $$fontfile $(S)/fonts/$$(basename $$fontfile | tr A-Z a-z); \
cd $(STEM)/fonts; for fontfile in *.eot *.svg *.ttf *.woff *.woff2; do \
mv $$fontfile ../../$(S)/fonts/$$(basename $$fontfile | tr A-Z a-z); \
done
rm -rf $(STEM)
touch $@
......@@ -26,3 +27,5 @@ all: .get-fonts-stamp .put-fonts-stamp .dist-stamp
clean:
rm -rf $(OUT_ZIP) $(STEM)
cd $(S)/fonts; rm -f *.eot *.svg *.ttf *.woff *.woff2
rm -f .*-stamp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment