From 3306ac7d41020e3750c76a867e767d18739f138d Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Wed, 5 Dec 2012 09:21:35 +0100 Subject: [PATCH] Change file permissions for .xinitrc to 744 The .xinitrc gets executed, so it must get the correct bit when installing. --- Makefile | 2 ++ dotfiles.mk | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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