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