File: Makefile.docupload

package info (click to toggle)
pyhoca-gui 0.6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,524 kB
  • sloc: python: 6,911; makefile: 37; sh: 20
file content (17 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# Makefile.docupload file - for pyhoca-gui
# Copyright 2010-2020 by Mike Gabriel <mike.gabriel@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-gui/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}/