-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
23 lines (23 loc) · 870 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bin_SCRIPTS = ttk-theme-chooser
ttk-theme-chooser:
echo "#! /bin/sh" >$@
echo 'tclsh `dirname $$0`/../share/ttk-theme-chooser/ttk-theme-chooser.tcl $$*' >>$@
chmod ugo+x $@
appdir = $(prefix)/share/applications
app_DATA = ttk-theme-chooser.desktop
ttk-theme-chooser.desktop:
echo "[Desktop Entry]" >$@
echo "Name=TTK Theme chooser" >>$@
echo "Comment=Change default TTK theme" >>$@
echo "Exec=ttk-theme-chooser" >>$@
echo 'Icon=$(pkgdatadir)/tcl.png' >>$@
echo "Terminal=false" >>$@
echo "Type=Application" >>$@
echo "Categories=Settings;" >>$@
echo "StartupNotify=true;" >>$@
chmod 644 $@
CLEANFILES = ttk-theme-chooser ttk-theme-chooser.desktop
pkgdata_SCRIPTS = ttk-theme-chooser.tcl
dist_pkgdata_DATA = ttk-theme-chooser.tcl tcl.png README.md
# nobase_dist_pkgdata_DATA = $(supportdir_files)
UNINSTALLFILES = ttk-theme-chooser.tcl tcl.png README.md