From 993d1a584f7aff8d0975495bef81850c756eec10 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 15 Apr 2015 15:06:13 -0400 Subject: 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-2-g168b