diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-14 14:52:45 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-14 14:52:45 -0400 |
commit | 5ab72cd4fe62ac88117ebd521ffb8cfde4485645 (patch) | |
tree | ff788aed372a4c6a512c21264192f4cc0c819286 /Makefile | |
parent | 0f235666059f48da7e4629037a2543e9ab4558e0 (diff) |
move a bunch of things into XDG directories
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 5e4fb21..0000000 --- a/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -SHELL = /bin/bash - -NANO_BIN_PREFIX = $(patsubst %/bin/nano,%,$(shell which nano)) -NANO_CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:$(NANO_BIN_PREFIX) -NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(NANO_CHECK))))) - -targets=.nanorc .folders .crontab.cookie .git.info.exclude -all: $(targets) -clean: - rm -f $(targets) - -.config/nanorc: .config/nanorc.in $(NANO_SHARE) - cat '$<' > '$@' - for file in $(NANO_SHARE)/*.nanorc; do echo "include \"$$file\""; done >> '$@' - -.folders: Maildir - ( echo '..'; find ~/Maildir -maxdepth 2 -type f -name "maildirfolder" -printf '%h\n'|sed -r 's@.*/(.*\.)(.*)@.\1\2@' )|sort>'$@' -.git.info.exclude: .git.info.exclude.in $(shell echo .??*/) - ( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@ - -.cache/cron/cookie: .config/cron - -(cat $^/*; echo) | crontab - 2>/dev/null - mkdir -p '$(@D)' - date > '$@' - -Maildir: - mkdir -p '$@'/{cur,new,tmp} -Maildir/%: | Maildir - mkdir -p '$@'/{cur,new,tmp} - touch '$@'/maildirfolder - -.PHONY: FORCE PHONY -FORCE: ; -PHONY: ; |