[X2Go-Commits] [x2gokdriveclient] 15/26: Makefile.docupload: copy from X2Go Client.

git-admin at x2go.org git-admin at x2go.org
Fri Feb 24 17:17:33 CET 2023


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

x2go pushed a commit to branch master
in repository x2gokdriveclient.

commit 61e945ad2d8681ca0510351c867afd11d992a174
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Feb 24 16:02:53 2023 +0100

    Makefile.docupload: copy from X2Go Client.
---
 Makefile.docupload | 20 ++++++++++++++++++++
 debian/changelog   |  1 +
 2 files changed, 21 insertions(+)

diff --git a/Makefile.docupload b/Makefile.docupload
new file mode 100644
index 0000000..86e6878
--- /dev/null
+++ b/Makefile.docupload
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# Makefile.docupload file - for x2goclient
+# Copyright (C) 2010-2020 by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>, GPLv3 applies to this file
+
+VERSION=$(head -n1 debian/changelog | sed 's,.*(\(.*\)).*,\1,' | cut -d"-" -f1)
+DOC_HOST="code.x2go.org"
+DOC_PATH="/srv/sites/x2go.org/packages/doc/x2goclient/man/"
+DOC_USER="x2go-admin"
+
+doc: docbuild docupload
+
+docbuild:
+	make -f Makefile.man2html build_man2html
+
+docupload:
+	
+	ssh -l${DOC_USER} ${DOC_HOST} "{ mkdir -p ${DOC_PATH}; rm -Rfv ${DOC_PATH}/*; }"
+	scp -r .build_man2html/html/* ${DOC_USER}@${DOC_HOST}:${DOC_PATH}/
+
+
diff --git a/debian/changelog b/debian/changelog
index 7c6ac7c..a7ad24a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -81,6 +81,7 @@ x2gokdriveclient (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     - Makefile: copy from X2Go Client.
     - x2gokdriveclient.spec: fix man page install permissions.
     - Makefile.man2html: copy from X2Go Client.
+    - Makefile.docupload: copy from X2Go Client.
   * 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


More information about the x2go-commits mailing list