[X2Go-Commits] [x2goclient] 03/09: provide helper Makefile.docupload for uploading html man pages to code.x2go.org

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:05:08 CET 2023


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

x2go pushed a commit to annotated tag 0.1.4.2
in repository x2goclient.

commit cde819a720c1ae037c56e2b2f81d0c19a86ca244
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jul 26 14:27:52 2011 +0200

    provide helper Makefile.docupload for uploading html man pages to code.x2go.org
---
 Makefile.docupload | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Makefile.docupload b/Makefile.docupload
new file mode 100644
index 00000000..1a6c71dd
--- /dev/null
+++ b/Makefile.docupload
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# Makefile.docupload file - for pyhoca-cli
+# Copyright 2010-2011 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/pyhoca-cli/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}/
+
+

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list