summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-05 09:21:35 +0100
committerGravatar Tom Willemsen2012-12-05 09:21:35 +0100
commit38194c9c34dff080d8751ca0d1f6c7b2eab128e7 (patch)
tree0e41f789b15c46e67ed8156450a8c39bdf1dbbe0
parenta95c1528abd35b1b07f34e395a721b6f5744c4ae (diff)
downloaddotfiles-38194c9c34dff080d8751ca0d1f6c7b2eab128e7.tar.gz
dotfiles-38194c9c34dff080d8751ca0d1f6c7b2eab128e7.zip
Change file permissions for .xinitrc to 744
The .xinitrc gets executed, so it must get the correct bit when installing.
-rw-r--r--Makefile2
-rw-r--r--dotfiles.mk3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ec793cd..e032b22 100644
--- a/Makefile
+++ b/Makefile
@@ -7,3 +7,5 @@ objects=.bash_profile .beetsconfig .conky_box.lua .conkyrc .gitconfig \
.xinitrc .Xmodmap .xsession .zprofile .zshrc
include dotfiles.mk
+
+install-.xinitrc: MODE=744
diff --git a/dotfiles.mk b/dotfiles.mk
index 6d33f72..19be79f 100644
--- a/dotfiles.mk
+++ b/dotfiles.mk
@@ -1,5 +1,6 @@
LOAD_PATH=. /usr/share/emacs/site-lisp $(HOME)/.emacs.d/site-lisp
EMACS=emacs $(addprefix -L ,$(LOAD_PATH))
+MODE=644
FG_YEL=\033[0;33m
FG_GRE=\033[0;32m
@@ -32,7 +33,7 @@ $(modules): %:
@$(MAKE) -C $*
$(install-objects): install-%: %
- $(if $(call newer,$*),install -pDm 644 "$*" "$(DESTDIR)/$*")
+ $(if $(call newer,$*),install -pDm $(MODE) "$*" "$(DESTDIR)/$*")
$(install-modules): install-%:
@$(MAKE) -C $* install