File: Makefile.docupload

package info (click to toggle)
pyhoca-cli 0.5.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 652 kB
  • ctags: 70
  • sloc: python: 690; makefile: 26
file content (20 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# Makefile.docupload file - for pyhoca-cli
# Copyright 2010-2014 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, AGPLv3+ 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}/