This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdriveclient.

commit 4c61b5e588f433370718a98dcf162d0ea32b1265
Author: Mihai Moldovan <io...@ionic.de>
Date:   Fri Feb 24 16:35:23 2023 +0100

    Makefile: install VERSION file into SHAREDIR/x2go/versions/.
---
 Makefile         | 13 +++++++++++--
 debian/changelog |  1 +
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 4a0c0ba..b62683c 100755
--- a/Makefile
+++ b/Makefile
@@ -104,23 +104,32 @@ clean_client:
 clean_man:
        $(MAKE) -f Makefile.man2html clean
 
-install: install_client install_man
+install: install_client install_data install_man
 
 install_client:
        $(INSTALL_DIR) $(DESTDIR)$(BINDIR)/
        $(INSTALL_PROGRAM) $(CLIENT_DIR)/x2gokdriveclient 
$(DESTDIR)$(BINDIR)/x2gokdriveclient
 
+install_data:
+       $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/x2go/versions
+       $(INSTALL_FILE) VERSION.x2gokdriveclient 
$(DESTDIR)$(SHAREDIR)/x2go/versions/
+
 install_man:
        $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/
        $(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1
        $(INSTALL_FILE) man/man1/x2gokdriveclient.1    
$(DESTDIR)$(MANDIR)/man1/x2gokdriveclient.1
        gzip -f $(DESTDIR)$(MANDIR)/man1/x2gokdriveclient.1
 
-uninstall: uninstall_client uninstall_man
+uninstall: uninstall_client uninstall_data uninstall_man
 
 uninstall_client:
        $(RM_FILE) $(BINDIR)/x2gokdriveclient
 
+uninstall_data:
+       $(RM_FILE) $(SHAREDIR)/x2go/versions/VERSION.x2gokdriveclient
+       $(RM_DIR) $(SHAREDIR)/x2go/versions
+       $(RM_DIR) $(SHAREDIR)/x2go
+
 uninstall_man:
        $(RM_FILE) $(MANDIR)/man1/x2gokdriveclient.1.gz
        $(RM_DIR) $(MANDIR)/man1
diff --git a/debian/changelog b/debian/changelog
index 2d1573e..d064a3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -88,6 +88,7 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     - x2gokdriveclient.spec: no need to explicitly install the man pages any
       longer, drop.
     - x2gokdriveclient.spec: add Enhances: x2goclient.
+    - Makefile: install VERSION file into SHAREDIR/x2go/versions/.
   * debian/rules:
     + Let qmake add general Qt {C{,XX},L}FLAGS instead of overriding them.
       Especially needed for C++11 support.

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2gokdriveclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to