summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-15 00:11:23 +0100
committerGravatar Tom Willemsen2013-02-15 00:11:23 +0100
commitf6598f546995b025349702b0572d0308e45e78a4 (patch)
tree6c78feedcf2d39024c475620e2a0c8f01ceaf8ab /Makefile
parenta1808fd44e44160545d120c3eafcf790320ce003 (diff)
downloaddotfiles-f6598f546995b025349702b0572d0308e45e78a4.tar.gz
dotfiles-f6598f546995b025349702b0572d0308e45e78a4.zip
Make install, uninstall, check work from subdirs
By going up to the above level if needed and having the top-level define a special variable this works.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e032b22..2c76217 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ objects=.bash_profile .beetsconfig .conky_box.lua .conkyrc .gitconfig \
.slrnrc .stumpwmrc .tmux.conf .urlview .xbindkeysrc.scm .Xdefaults \
.xinitrc .Xmodmap .xsession .zprofile .zshrc
+export MAKEROOT=y
+
include dotfiles.mk
install-.xinitrc: MODE=744