summaryrefslogtreecommitdiffstats
path: root/dotfiles.mk
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-12-05 09:21:35 +0100
committerGravatar Tom Willemsen2012-12-05 09:23:49 +0100
commit3306ac7d41020e3750c76a867e767d18739f138d (patch)
tree8d9838535a338022a9c842f39f5f815742f99569 /dotfiles.mk
parent15adc911da3f5b527c74b6bb67d677898d6a173e (diff)
downloaddotfiles-3306ac7d41020e3750c76a867e767d18739f138d.tar.gz
dotfiles-3306ac7d41020e3750c76a867e767d18739f138d.zip
Change file permissions for .xinitrc to 744
The .xinitrc gets executed, so it must get the correct bit when installing.
Diffstat (limited to 'dotfiles.mk')
-rw-r--r--dotfiles.mk3
1 files changed, 2 insertions, 1 deletions
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