summaryrefslogtreecommitdiff
path: root/data/Makefile.am
blob: dafdf2ac40e740958b9765030ddddf8c199e8adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
EXTRA_DIST = terminal-media-launcher.ico terminal-media-launcher.svg

# Build a .desktop entry
if 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" >> $@

desktopdir = $(datadir)/applications
icondir    = $(datadir)/pixmaps
desktop_DATA = $(PACKAGE_NAME).desktop
icon_DATA = $(PACKAGE_NAME).svg

endif