summaryrefslogtreecommitdiff
path: root/data/tmw
diff options
context:
space:
mode:
Diffstat (limited to 'data/tmw')
-rw-r--r--data/tmw/Makefile.am5
-rwxr-xr-xdata/tmw/tmw.in2
2 files changed, 5 insertions, 2 deletions
diff --git a/data/tmw/Makefile.am b/data/tmw/Makefile.am
index 264353083..f8135b488 100644
--- a/data/tmw/Makefile.am
+++ b/data/tmw/Makefile.am
@@ -1,7 +1,7 @@
desktopdir = $(datarootdir)/applications
-tmw:
+branding:
mkdir -p "$(DESTDIR)$(pkgdatadir)/data/tmw/icons"
mkdir -p "$(DESTDIR)$(datarootdir)/icons"
mkdir -p "$(DESTDIR)$(desktopdir)"
@@ -11,7 +11,8 @@ tmw:
cp icons/tmw-client.png "$(DESTDIR)$(datarootdir)/icons/tmw.png"
cp -r images "$(DESTDIR)$(pkgdatadir)/data/tmw"
-EXTRA_DIST = tmw.desktop \
+EXTRA_DIST = tmw.desktop.in \
+ tmw.in \
tmw.manaplus \
icons/tmw-client.ico \
icons/tmw-client.png \
diff --git a/data/tmw/tmw.in b/data/tmw/tmw.in
new file mode 100755
index 000000000..d726db2c3
--- /dev/null
+++ b/data/tmw/tmw.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec manaplus @datadir@/manaplus/data/tmw/tmw.manaplus "$@"