Change file permissions for .xinitrc to 744
The .xinitrc gets executed, so it must get the correct bit when installing.
This commit is contained in:
parent
a95c1528ab
commit
38194c9c34
2 changed files with 4 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -7,3 +7,5 @@ objects=.bash_profile .beetsconfig .conky_box.lua .conkyrc .gitconfig \
|
||||||
.xinitrc .Xmodmap .xsession .zprofile .zshrc
|
.xinitrc .Xmodmap .xsession .zprofile .zshrc
|
||||||
|
|
||||||
include dotfiles.mk
|
include dotfiles.mk
|
||||||
|
|
||||||
|
install-.xinitrc: MODE=744
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
LOAD_PATH=. /usr/share/emacs/site-lisp $(HOME)/.emacs.d/site-lisp
|
LOAD_PATH=. /usr/share/emacs/site-lisp $(HOME)/.emacs.d/site-lisp
|
||||||
EMACS=emacs $(addprefix -L ,$(LOAD_PATH))
|
EMACS=emacs $(addprefix -L ,$(LOAD_PATH))
|
||||||
|
MODE=644
|
||||||
|
|
||||||
FG_YEL=\033[0;33m
|
FG_YEL=\033[0;33m
|
||||||
FG_GRE=\033[0;32m
|
FG_GRE=\033[0;32m
|
||||||
|
@ -32,7 +33,7 @@ $(modules): %:
|
||||||
@$(MAKE) -C $*
|
@$(MAKE) -C $*
|
||||||
|
|
||||||
$(install-objects): install-%: %
|
$(install-objects): install-%: %
|
||||||
$(if $(call newer,$*),install -pDm 644 "$*" "$(DESTDIR)/$*")
|
$(if $(call newer,$*),install -pDm $(MODE) "$*" "$(DESTDIR)/$*")
|
||||||
|
|
||||||
$(install-modules): install-%:
|
$(install-modules): install-%:
|
||||||
@$(MAKE) -C $* install
|
@$(MAKE) -C $* install
|
||||||
|
|
Loading…
Reference in a new issue