MENUS = gcin gcin-setup include ../config.mak all: install: if [ $(prefix) = /usr ]; then \ install gcin-setup.desktop $(GCIN_SETUP_DESKTOP); \ install gcin-setup.desktop /usr/share/applications; \ install -d /usr/lib/menu; \ install -m 644 $(MENUS) /usr/lib/menu; \ which update-menus > /dev/null 2>&1 && update-menus || exit 0; \ else \ install -d $(prefix)/share/applications; \ install -m 644 $(MENUS) $(prefix)/share/applications; \ fi clean: rm -f $(MENUS) *~