summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 15:06:13 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 15:06:13 -0400
commit993d1a584f7aff8d0975495bef81850c756eec10 (patch)
tree834958f96fab6f30e2de463b53f20ac444cff2ff /Makefile
parentcdff1a234be0d625c5c824707dbae32ffa6a76dd (diff)
Fix issues with Makefile
- the entries in generated .gitignore's had prefixes - because sitestatic/logos/ was empty, it got removed; teach Makefile to create it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 75540c3e..506dc288 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ clean: sitestatic/.gitignore visualize/.gitignore
.PHONY: all clean
%/.gitignore: $(MAKEFILE_LIST)
- printf -- '%s\n' $(filter $*/%,$(targets)) > $@
+ printf -- '%s\n' $(patsubst $*%,%,$(filter $*/%,$(targets))) | LC_COLLATE=C sort > $@
# Turn on sane error handling
.DELETE_ON_ERROR:
@@ -94,7 +94,7 @@ sitestatic/homepage.js: sitestatic/bootstrap-typeahead.min.js sitestatic/konami.
visualize/static/d3-$(d3-ver).js: %: $(www)/https/raw.github.com/mbostock/d3/v$(d3-ver)/d3.js
cp $< $@
-$(foreach i,$(images),$(eval $i: $$(branding)/$(notdir $i); cp $$< $$@))
+$(foreach i,$(images),$(eval $i: $$(branding)/$(notdir $i); install -Dm644 $$< $$@))
# The minimization processes