2010-01-21 13:03:35 +01:00
|
|
|
Index: src/Clients/Classical/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- src/Clients/Classical/Makefile.am.orig
|
|
|
|
+++ src/Clients/Classical/Makefile.am
|
2010-03-02 19:40:21 +01:00
|
|
|
@@ -41,7 +41,7 @@ RESOURCES = \
|
2010-01-21 13:03:35 +01:00
|
|
|
-resource:$(top_srcdir)/data/app-graphics/verbal-games-32.png \
|
|
|
|
-resource:$(top_srcdir)/data/app-graphics/gbrainy.svg
|
|
|
|
|
|
|
|
-gbrainydir = $(libdir)/gbrainy
|
|
|
|
+gbrainydir = $(pkglibexecdir)
|
2010-03-02 19:40:21 +01:00
|
|
|
gbrainy_SCRIPTS = ../../gbrainy.exe ../../gbrainy.exe.config
|
2010-01-21 13:03:35 +01:00
|
|
|
bin_SCRIPTS = gbrainy
|
|
|
|
|
|
|
|
Index: src/Clients/Classical/gbrainy.in
|
|
|
|
===================================================================
|
|
|
|
--- src/Clients/Classical/gbrainy.in.orig
|
|
|
|
+++ src/Clients/Classical/gbrainy.in
|
|
|
|
@@ -1,10 +1,8 @@
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
-prefix=@prefix@
|
|
|
|
-exec_prefix=@exec_prefix@
|
|
|
|
-libdir=@libdir@
|
2010-05-03 23:29:09 +02:00
|
|
|
+pkglibexecdir=@libexecdir@/@PACKAGE@
|
2010-01-21 13:03:35 +01:00
|
|
|
|
|
|
|
-MONO_EXE="$libdir/gbrainy/gbrainy.exe"
|
|
|
|
+MONO_EXE="$pkglibexecdir/gbrainy.exe"
|
|
|
|
|
|
|
|
for arg in $*; do
|
|
|
|
case "x--debug" in ("x${arg}")
|
|
|
|
Index: src/Core/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- src/Core/Makefile.am.orig
|
|
|
|
+++ src/Core/Makefile.am
|
2010-03-02 19:40:21 +01:00
|
|
|
@@ -69,19 +69,19 @@ $(TARGET): $(CSFILES) $(RES)
|
|
|
|
$(CSC) -out:$@ $(CSFLAGS) $(REFS) $(RES_CSFLAGS) $(CSFILES)
|
2010-01-21 13:03:35 +01:00
|
|
|
|
|
|
|
$(TARGET_CFG): $(srcdir)/gbrainy.Core.dll.config.in
|
|
|
|
- sed -e "s|\@pkglibdir\@|$(pkglibdir)|" \
|
|
|
|
+ sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
all: $(TARGET) $(TARGET_CFG)
|
|
|
|
|
|
|
|
install-data-local: $(TARGET) $(TARGET_CFG)
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET_CFG) $(DESTDIR)$(pkglibdir)
|
|
|
|
+ $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET_CFG) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Core.dll
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Core.dll.config
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Core.dll
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Core.dll.config
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2010-03-02 19:40:21 +01:00
|
|
|
$(CSDISTFILES) $(RES) gbrainy.Core.dll.config.in
|
2010-01-21 13:03:35 +01:00
|
|
|
Index: src/Core/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- src/Core/Makefile.in.orig
|
|
|
|
+++ src/Core/Makefile.in
|
2010-03-02 19:40:21 +01:00
|
|
|
@@ -472,19 +472,19 @@ $(TARGET): $(CSFILES) $(RES)
|
|
|
|
$(CSC) -out:$@ $(CSFLAGS) $(REFS) $(RES_CSFLAGS) $(CSFILES)
|
2010-01-21 13:03:35 +01:00
|
|
|
|
|
|
|
$(TARGET_CFG): $(srcdir)/gbrainy.Core.dll.config.in
|
|
|
|
- sed -e "s|\@pkglibdir\@|$(pkglibdir)|" \
|
|
|
|
+ sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" \
|
|
|
|
< $< > $@
|
|
|
|
|
|
|
|
all: $(TARGET) $(TARGET_CFG)
|
|
|
|
|
|
|
|
install-data-local: $(TARGET) $(TARGET_CFG)
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET_CFG) $(DESTDIR)$(pkglibdir)
|
|
|
|
+ $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET_CFG) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Core.dll
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Core.dll.config
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Core.dll
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Core.dll.config
|
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
Index: src/Games/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- src/Games/Makefile.am.orig
|
|
|
|
+++ src/Games/Makefile.am
|
2010-03-02 19:40:21 +01:00
|
|
|
@@ -92,11 +92,11 @@ $(TARGET): $(CSFILES) $(RES)
|
2010-01-21 13:03:35 +01:00
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
install-data-local: $(TARGET)
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)
|
|
|
|
+ $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Games.dll
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Games.dll
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2010-03-02 19:40:21 +01:00
|
|
|
$(CSDISTFILES) $(RES)
|
2010-01-21 13:03:35 +01:00
|
|
|
Index: src/Games/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- src/Games/Makefile.in.orig
|
|
|
|
+++ src/Games/Makefile.in
|
2010-03-02 19:40:21 +01:00
|
|
|
@@ -495,11 +495,11 @@ $(TARGET): $(CSFILES) $(RES)
|
2010-01-21 13:03:35 +01:00
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
install-data-local: $(TARGET)
|
|
|
|
- $(mkinstalldirs) $(DESTDIR)$(pkglibdir)
|
|
|
|
- $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibdir)
|
|
|
|
+ $(mkinstalldirs) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
+ $(INSTALL_DATA) $(TARGET) $(DESTDIR)$(pkglibexecdir)
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
- cd $(DESTDIR)$(pkglibdir) && rm -f gbrainy.Games.dll
|
|
|
|
+ cd $(DESTDIR)$(pkglibexecdir) && rm -f gbrainy.Games.dll
|
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
2010-03-02 19:40:21 +01:00
|
|
|
Index: src/Clients/Classical/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- src/Clients/Classical/Makefile.in.orig
|
|
|
|
+++ src/Clients/Classical/Makefile.in
|
|
|
|
@@ -274,7 +274,7 @@ RESOURCES = \
|
|
|
|
-resource:$(top_srcdir)/data/app-graphics/verbal-games-32.png \
|
|
|
|
-resource:$(top_srcdir)/data/app-graphics/gbrainy.svg
|
|
|
|
|
|
|
|
-gbrainydir = $(libdir)/gbrainy
|
|
|
|
+gbrainydir = $(pkglibexecdir)
|
|
|
|
gbrainy_SCRIPTS = ../../gbrainy.exe ../../gbrainy.exe.config
|
|
|
|
bin_SCRIPTS = gbrainy
|
|
|
|
GBRAINY_CSFILES = $(GBRAINY_CSDISTFILES) \
|