summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: e6fb158938db80d03b8b7fd0c3ba3978efacf0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
EXTRA_DIST = icon.ico icon.svg

# Build a .desktop entry
BUILT_SOURCES = $(PACKAGE_NAME).desktop
CLEANFILES = $(PACKAGE_NAME).desktop
$(PACKAGE_NAME).desktop: Makefile
	echo "[Desktop Entry]" > $@
	echo "Type=Application" >> $@
	echo "Name=$(PACKAGE_NAME)" >> $@
	echo "Comment=Terminal Media Launcher" >> $@
	echo "Path=$(bindir)/$(PACKAGE_NAME)$(EXEEXT)" >> $@
	echo "Exec=$(PACKAGE_NAME)$(EXEEXT)" >> $@
	echo "Icon=$(PACKAGE_NAME)" >> $@
	echo "Terminal=true" >> $@
	echo "Categories=Utility" >> $@