summaryrefslogtreecommitdiffstats
path: root/Makefile.laptop
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-29 02:25:56 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-29 02:25:56 -0400
commit16dee1758ea2070d01af3be51f5606d5afb389df (patch)
tree7a1583ac876d3df1f995366de86d94e9cae96719 /Makefile.laptop
parent2055497a70c2a29198b0904885e479a910c7267b (diff)
downloadconf-16dee1758ea2070d01af3be51f5606d5afb389df.tar.gz
conf-16dee1758ea2070d01af3be51f5606d5afb389df.zip
be more specific about the conf files i install
so that real data is (mostly) not sitting around in ~/conf
Diffstat (limited to 'Makefile.laptop')
-rw-r--r--Makefile.laptop17
1 files changed, 9 insertions, 8 deletions
diff --git a/Makefile.laptop b/Makefile.laptop
index adaa397..f354ab7 100644
--- a/Makefile.laptop
+++ b/Makefile.laptop
@@ -3,6 +3,7 @@ INSTALL := \
.config/touchegg/touchegg.conf \
.i3status.conf \
.notmuch-config \
+ .offlineimap/pass.py \
.offlineimaprc \
.wunderground \
.xbindkeysrc \
@@ -12,8 +13,8 @@ INSTALL := \
.Xmodmap \
.i3 \
.mpdscribble \
- .offlineimap \
- .services
+ $(patsubst %,.%,$(wildcard services/available/*/run)) \
+ $(patsubst %,.%,$(wildcard services/available/*/log/run))
EMPTYDIRS := \
$(patsubst services/available/%,.log/%,$(wildcard services/available/*)) \
@@ -22,11 +23,11 @@ EMPTYDIRS := \
.config/mpd/playlists
INSTALLED := \
+ $(patsubst services/available/%,$(INTO)/.services/enabled/%,$(wildcard services/available/*)) \
/var/spool/cron/$(USER) \
- $(INTO)/Maildir/.notmuch
+ $(INTO)/Maildir/.notmuch/hooks/post-new
BUILD := \
- $(patsubst services/available/%,services/enabled/%,$(wildcard services/available/*)) \
wunderground \
mpdscribble/mpdscribble.conf \
bin/local/timettyrec
@@ -37,13 +38,13 @@ clean ::
/var/spool/cron/$(USER) : crontab
@crontab $<
-$(INTO)/Maildir/.notmuch: notmuch
+$(INTO)/Maildir/.notmuch/hooks/post-new: notmuch/hooks/post-new
@[ ! -e $@ ] || [ -h $@ ] || mv -f $@ $@.bak
- $(MKDIR) $(INTO)/Maildir
+ $(MKDIR) $(INTO)/Maildir/.notmuch/hooks
$(LN) $(PWD)/$< $@
-services/enabled/% : services/available/%
- $(MKDIR) services/enabled
+$(INTO)/.services/enabled/% : services/available/%
+ $(MKDIR) $(dir $<)
$(LN) ../available/$(notdir $<) $@
wunderground :