Makefile
changeset 506 0ab510cb567d
parent 486 8e5f69997c86
child 518 3dd43161fc0e
--- a/Makefile	Mon Aug 13 15:03:57 2012 +0300
+++ b/Makefile	Tue Aug 14 02:52:27 2012 +0300
@@ -76,6 +76,13 @@
 		fi; \
 	done
 	chmod a+x ~/.fvwm/FvwmKbdd.pl
+	for f in /etc/xdg/menus/*.menu; do \
+		f=$${f%.menu}; \
+		f=$${f#/etc/xdg/menus/}; \
+		python .fvwm/xdg2fvwm.py $$f >~/.fvwm/$$f.hook; \
+		echo "Read $$[HOME]/.fvwm/$$f.hook" >>~/.fvwm/config; \
+		echo "AddToMenu MenuMyRoot $$f Popup Menu-$$f" >>~/.fvwm/config; \
+	done
 	mkdir -p ~/.screenshot
 	for item in $(IFNONEXIST_ITEMS); do \
 		if [ -f $$item -a ! -f $(HOME)/$$item ]; then \