From cbc1b271ea57cb68a2663a52dd096749218eda3e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 Jun 2014 23:19:50 +0300 Subject: Add shell scripts for running branded tmw and evol versions. Not present in install make action. --- data/evol/Makefile.am | 5 +++-- data/evol/evol.in | 2 ++ data/tmw/Makefile.am | 5 +++-- data/tmw/tmw.in | 2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 data/evol/evol.in create mode 100755 data/tmw/tmw.in (limited to 'data') 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 "$@" -- cgit v1.2.3-70-g09d2