diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-20 23:19:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-21 01:35:39 +0300 |
commit | cbc1b271ea57cb68a2663a52dd096749218eda3e (patch) | |
tree | 51eb4db9fe7fd37e6d62a0ae430959d09795692f | |
parent | 8963c582f2d2f2879b69821337a5c396f9712a06 (diff) | |
download | manaverse-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.gz manaverse-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.bz2 manaverse-cbc1b271ea57cb68a2663a52dd096749218eda3e.tar.xz manaverse-cbc1b271ea57cb68a2663a52dd096749218eda3e.zip |
Add shell scripts for running branded tmw and evol versions.
Not present in install make action.
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | configure.ac | 3 | ||||
-rw-r--r-- | data/evol/Makefile.am | 5 | ||||
-rwxr-xr-x | data/evol/evol.in | 2 | ||||
-rw-r--r-- | data/tmw/Makefile.am | 5 | ||||
-rwxr-xr-x | data/tmw/tmw.in | 2 |
6 files changed, 15 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index a2a7b8b5b..97cd4b1dc 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,8 @@ stamp-h1 PKGBUILD data/evol/evol.desktop data/tmw/tmw.desktop +data/evol/evol +data/tmw/tmw # files created by CMake CMakeFiles/ diff --git a/configure.ac b/configure.ac index 3756fd320..126a88d41 100755 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,9 @@ docs/Makefile po/Makefile.in ]) +AC_CONFIG_FILES([data/evol/evol], [chmod +x data/evol/evol]) +AC_CONFIG_FILES([data/tmw/tmw], [chmod +x data/tmw/tmw]) + AC_OUTPUT echo 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 "$@" |