menu/Makefile
raw| 1 | include ../config.mak |
| 2 | |
| 3 | all: |
| 4 | |
| 5 | install: |
| 6 | if [ $(prefix) = /usr/local ]; then \ |
| 7 | install gcin-tools.desktop /usr/share/applications; \ |
| 8 | which update-menus > /dev/null 2>&1 && update-menus || exit 0; \ |
| 9 | else \ |
| 10 | install -d $(datadir)/applications; \ |
| 11 | install -m 644 gcin-tools.desktop $(datadir)/applications; \ |
| 12 | fi |
| 13 | clean: |
| 14 | rm -f $(MENUS) *~ |