summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-05-21 12:21:55 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-05-21 12:21:55 -0400
commit39bd672b152e7b15f0b34fd06572ca3a14bf877c (patch)
tree098c1b1588fdcd7900fa14b77045aef068d68aea /Makefile
parentf6da1d4c86d944d2d4f0fdc1b635dde23295c039 (diff)
redo alsa stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 50ae80e..8c0ffa9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/
NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK)))))
-ALSACTL=$(firstword $(shell . $(HOME)/.profile; which alsactl) echo)
+ALSACTL=$(firstword $(shell . $(HOME)/.profile &>/dev/null; which alsactl) echo)
-targets=.nanorc .folders .crontab.cookie .alsa.save
+targets=.nanorc .folders .crontab.cookie .current.asound
all: $(targets)
clean:
rm -f $(targets)
-.alsa.save: FORCE
- $(ALSACTL) --file $(HOME)/.alsa.save store || touch '$@'
+%.asound: FORCE
+ $(ALSACTL) store --file '$@'
.nanorc: .nanorc.in $(NANO_SHARE)
cat '$<' > '$@'