diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-15 15:06:13 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-15 15:06:13 -0400 |
commit | 993d1a584f7aff8d0975495bef81850c756eec10 (patch) | |
tree | 834958f96fab6f30e2de463b53f20ac444cff2ff /Makefile | |
parent | cdff1a234be0d625c5c824707dbae32ffa6a76dd (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |