summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-20 23:19:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-21 01:35:39 +0300
commitcbc1b271ea57cb68a2663a52dd096749218eda3e (patch)
tree51eb4db9fe7fd37e6d62a0ae430959d09795692f /data
parent8963c582f2d2f2879b69821337a5c396f9712a06 (diff)
downloadplus-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.gz
plus-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.bz2
plus-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.xz
plus-cbc1b271ea57cb68a2663a52dd096749218eda3e.zip
Add shell scripts for running branded tmw and evol versions.
Not present in install make action.
Diffstat (limited to 'data')
-rw-r--r--data/evol/Makefile.am5
-rwxr-xr-xdata/evol/evol.in2
-rw-r--r--data/tmw/Makefile.am5
-rwxr-xr-xdata/tmw/tmw.in2
4 files changed, 10 insertions, 4 deletions
diff --git a/data/evol/Makefile.am b/data/evol/Makefile.am
index 7851bbd75..5ad7b74cf 100644
--- a/data/evol/Makefile.am
+++ b/data/evol/Makefile.am
@@ -1,7 +1,7 @@
desktopdir = $(datarootdir)/applications
-evol-client:
+branding:
mkdir -p "$(DESTDIR)$(pkgdatadir)/data/evol/icons"
mkdir -p "$(DESTDIR)$(datarootdir)/icons"
mkdir -p "$(DESTDIR)$(desktopdir)"
@@ -11,7 +11,8 @@ evol-client:
cp icons/evol-client.png "$(DESTDIR)$(datarootdir)/icons"
cp -r images "$(DESTDIR)$(pkgdatadir)/data/evol"
-EXTRA_DIST = evol.desktop \
+EXTRA_DIST = evol.desktop.in \
+ evol.in \
evol.manaplus \
icons/evol-client.ico \
icons/evol-client.png \
diff --git a/data/evol/evol.in b/data/evol/evol.in
new file mode 100755
index 000000000..2b010dc80
--- /dev/null
+++ b/data/evol/evol.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec manaplus @datadir@/manaplus/data/evol/evol.manaplus "$@"
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 "$@"