Makefile
changeset 963 d008686721c6
parent 962 88a1ce08b362
child 964 e0451bc7141f
equal deleted inserted replaced
962:88a1ce08b362 963:d008686721c6
   122 			done
   122 			done
   123 		fi
   123 		fi
   124 	done
   124 	done
   125 	$(INSTALL_DATA) -t $(HOME) "$${files[@]}"
   125 	$(INSTALL_DATA) -t $(HOME) "$${files[@]}"
   126 	chmod 700 ~/.gnupg/
   126 	chmod 700 ~/.gnupg/
   127 	chmod a+x ~/.fvwm/FvwmKbdd.pl ~/.fvwm/xinit
   127 	if command -v fvwm; then
   128 	command -v fvwm || exit 0
   128 		chmod a+x ~/.fvwm/FvwmKbdd.pl ~/.fvwm/xinit
   129 	for f in /etc/xdg/menus/*.menu; do
   129 		for f in /etc/xdg/menus/*.menu; do
   130 		[[ -f "$$f" ]] || continue
   130 			[[ -f "$$f" ]] || continue
   131 		fname=$${f%.menu}
   131 			fname=$${f%.menu}
   132 		fname=$${fname##*/}
   132 			fname=$${fname##*/}
   133 		python .fvwm/xdg2fvwm.py Menu-$$fname $$f >~/.fvwm/$$fname.hook
   133 			python .fvwm/xdg2fvwm.py Menu-$$fname $$f >~/.fvwm/$$fname.hook
   134 		echo "Read $$[HOME]/.fvwm/$$fname.hook" >>~/.fvwm/config
   134 			echo "Read $$[HOME]/.fvwm/$$fname.hook" >>~/.fvwm/config
   135 		echo "AddToMenu MenuMyRoot $$fname Popup Menu-$$fname" >>~/.fvwm/config
   135 			echo "AddToMenu MenuMyRoot $$fname Popup Menu-$$fname" >>~/.fvwm/config
   136 	done
   136 		done
       
   137 	fi
   137 	mkdir -p ~/.screenshot
   138 	mkdir -p ~/.screenshot
   138 	for item in $(IFNONEXIST_ITEMS); do
   139 	for item in $(IFNONEXIST_ITEMS); do
   139 		if [[ -f $$item ]] && ! [[ -f $(HOME)/$$item ]]; then
   140 		if [[ -f $$item ]] && ! [[ -f $(HOME)/$$item ]]; then
   140 			$(INSTALL_DATA) $$item $(HOME)/$$item
   141 			$(INSTALL_DATA) $$item $(HOME)/$$item
   141 		fi
   142 		fi