[X2Go-Commits] x2goclient.git - master (branch) updated: 4.0.1.1-53-ga65def4
X2Go dev team
git-admin at x2go.org
Tue Dec 10 11:35:50 CET 2013
The branch, master has been updated
via a65def426ae839123b65b1aa910784831eaa3fe0 (commit)
from 31b6e2a55ac9328c96ae4f61f18a1a3f4dbf9b6b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a65def426ae839123b65b1aa910784831eaa3fe0
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Dec 10 11:34:25 2013 +0100
Make x2goplugin-provider installable via Makefile.
-----------------------------------------------------------------------
Summary of changes:
Makefile | 26 ++++++++++++++++++++++++--
debian/changelog | 1 +
2 files changed, 25 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/Makefile b/Makefile
index b2da40d..edbd38d 100755
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ SHELL=/bin/bash
INSTALL_DIR=install -d -o root -g root -m 755
INSTALL_FILE=install -o root -g root -m 644
+INSTALL_SYMLINK=ln -s -f
INSTALL_PROGRAM=install -o root -g root -m 755
RM_FILE=rm -f
@@ -18,6 +19,7 @@ RM_DIR=rmdir -p --ignore-fail-on-non-empty
DESTDIR=
PREFIX=/usr/local
+ETCDIR=/etc/x2go
BINDIR=$(PREFIX)/bin
SHAREDIR=$(PREFIX)/share
MANDIR=$(SHAREDIR)/man
@@ -27,7 +29,7 @@ LRELEASE_BINARY=lrelease
all: build
-build: build_man
+build: build_man build_pluginprovider
$(MAKE) build_client
$(MAKE) build_plugin
@@ -41,10 +43,12 @@ build_plugin:
mkdir -p $(PLUGIN_DIR) && cd $(PLUGIN_DIR) && X2GO_CLIENT_TARGET=plugin $(QMAKE_BINARY) QMAKE_CFLAGS="${CPPFLAGS} ${CFLAGS}" QMAKE_CXXFLAGS="${CPPFLAGS} ${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}" ../x2goclient.pro
cd $(PLUGIN_DIR) && $(MAKE)
+build_pluginprovider:
+
build_man:
${MAKE} -f Makefile.man2html build
-clean: clean_client clean_plugin clean_man
+clean: clean_client clean_plugin clean_man clean_pluginprovider
find . -maxdepth 2 -name '*.o' -exec rm -vf {} + -type f
find . -maxdepth 2 -name 'moc_*.cpp' -exec rm -vf {} + -type f
find . -maxdepth 2 -name 'ui_*.h' -exec rm -vf {} + -type f
@@ -58,6 +62,8 @@ clean_client:
clean_plugin:
rm -fr $(PLUGIN_DIR)
+clean_pluginprovider:
+
clean_man:
make -f Makefile.man2html clean
@@ -85,6 +91,13 @@ install_plugin:
$(INSTALL_DIR) $(DESTDIR)$(MOZPLUGDIR)/
$(INSTALL_PROGRAM) $(PLUGIN_DIR)/libx2goplugin.so $(DESTDIR)$(MOZPLUGDIR)/libx2goplugin.so
+install_pluginprovider:
+ $(INSTALL_DIR) $(DESTDIR)$(ETCDIR)/plugin-provider
+ $(INSTALL_FILE) provider/etc/x2goplugin-apache.conf $(DESTDIR)$(ETCDIR)/x2goplugin-apache.conf
+ $(INSTALL_FILE) provider/share/x2goplugin.html $(DESTDIR)$(ETCDIR)/plugin-provider/x2goplugin.html
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/x2go/plugin/
+ $(INSTALL_SYMLINK) ../../../../$(ETCDIR)/plugin-provider/x2goplugin.html $(DESTDIR)$(SHAREDIR)/x2go/plugin/x2goplugin.html
+
install_man:
$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/
$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1
@@ -114,6 +127,15 @@ uninstall_plugin:
$(RM_FILE) $(MOZPLUGDIR)/libx2goplugin.so
$(RM_DIR) $(MOZPLUGDIR)/
+uninstall_pluginprovider:
+ $(RM_FILE) $(ETCDIR)/x2goplugin-apache.conf
+ $(RM_FILE) $(ETCDIR)/plugin-provider/x2goplugin.html
+ $(RM_DIR) $(ETCDIR)/plugin-provider
+ $(RM_DIR) $(ETCDIR)
+ $(RM_FILE) $(SHAREDIR)/x2go/plugin/x2goplugin.html
+ $(RM_DIR) $(SHAREDIR)/x2go/plugin/
+ $(RM_DIR) $(SHAREDIR)/x2go/
+
uninstall_man:
$(RM_FILE) $(MANDIR)/man1/x2goclient.1.gz
$(RM_DIR) $(MANDIR)/man1
diff --git a/debian/changelog b/debian/changelog
index 1900abf..ebabc03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,6 +27,7 @@ x2goclient (4.0.1.2-0x2go2) UNRELEASED; urgency=low
RHEL-5 does not have those tools in $PATH).
- Make sure that build_client and build_plugin are not build with parallel
make.
+ - Make x2goplugin-provider installable via Makefile.
* Pull-in packaging changes from Debian.
* debian/source/format:
+ Switch to format 1.0.
hooks/post-receive
--
x2goclient.git (X2Go Client)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goclient.git" (X2Go Client).
More information about the x2go-commits
mailing list