--- a/Makefile Fri Jan 08 13:59:23 2021 +0200
+++ b/Makefile Fri Jan 08 14:03:04 2021 +0200
@@ -122,20 +122,20 @@
fi
done
$(INSTALL_DATA) -t $(HOME) "$${files[@]}"
- chmod 700 ~/.gnupg/
+ chmod 700 $(HOME)/.gnupg/
if command -v fvwm; then
cp -r .fvwm $(HOME)
- chmod a+x ~/.fvwm/FvwmKbdd.pl ~/.fvwm/xinit
+ chmod a+x $(HOME)/.fvwm/FvwmKbdd.pl $(HOME)/.fvwm/xinit
for f in /etc/xdg/menus/*.menu; do
[[ -f "$$f" ]] || continue
fname=$${f%.menu}
fname=$${fname##*/}
- python .fvwm/xdg2fvwm.py Menu-$$fname $$f >~/.fvwm/$$fname.hook
- echo "Read $$[HOME]/.fvwm/$$fname.hook" >>~/.fvwm/config
- echo "AddToMenu MenuMyRoot $$fname Popup Menu-$$fname" >>~/.fvwm/config
+ python .fvwm/xdg2fvwm.py Menu-$$fname $$f >$(HOME)/.fvwm/$$fname.hook
+ echo "Read $$[HOME]/.fvwm/$$fname.hook" >>$(HOME)/.fvwm/config
+ echo "AddToMenu MenuMyRoot $$fname Popup Menu-$$fname" >>$(HOME)/.fvwm/config
done
fi
- mkdir -p ~/.screenshot
+ mkdir -p $(HOME)/.screenshot
for item in $(IFNONEXIST_ITEMS); do
if [[ -f $$item ]] && ! [[ -f $(HOME)/$$item ]]; then
$(INSTALL_DATA) $$item $(HOME)/$$item
@@ -148,8 +148,8 @@
done
fi
done
- chmod a+x ~/.xinitrc ~/.xserverrc
- ln -s -f ~/.xinitrc ~/.xsession
+ chmod a+x $(HOME)/.xinitrc $(HOME)/.xserverrc
+ ln -s -f $(HOME)/.xinitrc $(HOME)/.xsession
ln -s -f $(HOME)/.bashrc $(HOME)/.bash_profile
mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/
umask 0117