summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 14:57:54 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 14:57:54 -0400
commit41be5454a224acda28025ac2a67d9ca27c80b5e9 (patch)
tree44e44674d354389ffb6317b2d74287d459e786b9 /Makefile
parent02f90b5bd4181f92332f50f547ab653054126246 (diff)
Save/Load the alsa state from .alsa.save
* .profile: load .alsa.save on login * .bash_logout: save the stat on logout * Makefile: save the state * .git.info.exclude: ignore .alsa.save
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index abf0ee2..3e2677b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,14 @@
CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/
NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK)))))
-targets=.nanorc .folders .crontab.cookie
+targets=.nanorc .folders .crontab.cookie .alsa.save
all: $(targets)
clean:
rm -f $(targets)
+.alsa.save: PHONY
+ alsactl --file $HOME/.alsa.save store
+
.nanorc: .nanorc.in $(NANO_SHARE)
cat '$<' > '$@'
for file in $(NANO_SHARE)/*.nanorc; do echo "include \"$$file\""; done >> '$@'