diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-07-16 23:55:23 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-07-16 23:55:23 -0400 |
commit | 4dcf99a241f8591b21ce3e8b2dd385cbeb99bbf6 (patch) | |
tree | b275d7a21d46c421d9487dcd1d5043ba8a9bfe5d /Makefile | |
parent | 3b8d4575218ab6d8e1155a81c45d81a8631aff25 (diff) | |
parent | 3c7c6090cd2e385651f6ef79391c42a65ac06344 (diff) |
Merge branch 'hp-dv6426us-par'
Conflicts:
.crontab.local
.git.info.exclude
.wmii/wmiirc_local
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,15 +1,15 @@ CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/ NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK))))) -ALSACTL=$(firstword $(shell 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 '$<' > '$@' |