4f9a71cc80
so decided to go back to symlinking everything so that I can more easily spot changes, lazily introduce changes, etc.
22 lines
343 B
Makefile
22 lines
343 B
Makefile
SOURCES := $(shell ls | egrep -v 'README|Makefile')
|
|
TARGETS := $(patsubst %,$(HOME)/.%,$(SOURCES))
|
|
|
|
|
|
$(HOME)/.%: %
|
|
ln -sv $(PWD)/'$^' '$@'
|
|
|
|
|
|
all: $(TARGETS) $(HOME)/.janus/go
|
|
|
|
|
|
echo:
|
|
@echo SOURCES=$(SOURCES)
|
|
@echo TARGETS=$(TARGETS)
|
|
|
|
|
|
$(HOME)/.janus/go:
|
|
test -n "$$GOROOT" && ln -sv $$GOROOT/misc/vim ~/.janus/go ; true
|
|
|
|
|
|
.PHONY: all echo
|