Change in osmo-gsm-manuals[master]: Makefile.common.inc: add publish target

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Nov 12 14:30:09 UTC 2018


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/11740


Change subject: Makefile.common.inc: add publish target
......................................................................

Makefile.common.inc: add publish target

Publishes all generated PDFs to rita.osmocom.org.

Change-Id: Ibe0424ceace151115985896b6d43035c69067c50
---
M build/Makefile.common.inc
A build/known_hosts
2 files changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/40/11740/1

diff --git a/build/Makefile.common.inc b/build/Makefile.common.inc
index fdef1f0..333bfbe 100644
--- a/build/Makefile.common.inc
+++ b/build/Makefile.common.inc
@@ -5,6 +5,7 @@
 #
 # Include this file at the end to have the common targets (clean, check etc.)
 
+SSH_COMMAND = ssh -o 'UserKnownHostsFile=$(TOPDIR)/build/known_hosts' -p 48
 UPLOAD_PATH ?= generic at sysmocom-downloads:documents
 CLEAN_FILES += common out
 
@@ -22,3 +23,8 @@
 all: $(DOCBOOKS_PDF) $(ASCIIDOC_PDF)
 
 check: all $(ASCIIDOC_CHECKS)
+
+publish: check
+	mkdir -p out
+	cp *.pdf out
+	rsync -avz -e "$(SSH_COMMAND)" ./out/ docs at rita.osmocom.org:web-files/latest/
diff --git a/build/known_hosts b/build/known_hosts
new file mode 100644
index 0000000..24075d8
--- /dev/null
+++ b/build/known_hosts
@@ -0,0 +1,5 @@
+# used by Makefile.common.inc's publish target
+[rita.osmocom.org]:48 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDgQ9HntlpWNmh953a2Gc8NysKE4orOatVT1wQkyzhARnfYUerRuwyNr1GqMyBKdSI9amYVBXJIOUFcpV81niA7zQRUs66bpIMkE9/rHxBd81SkorEPOIS84W4vm3SZtuNqa+fADcqe88Hcb0ZdTzjKILuwi19gzrQyME2knHY71EOETe9Yow5RD2hTIpB5ecNxI0LUKDq+Ii8HfBvndPBIr0BWYDugckQ3Bocf+yn/tn2/GZieFEyFpBGF/MnLbAAfUKIdeyFRX7ufaiWWz5yKAfEhtziqdAGZaXNaLG6gkpy3EixOAy6ZXuTAk3b3Y0FUmDjhOHllbPmTOcKMry9
+[rita.osmocom.org]:48 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPdWn1kEousXuKsZ+qJEZTt/NSeASxCrUfNDW3LWtH+d8Ust7ZuKp/vuyG+5pe5pwpPOgFu7TjN+0lVjYJVXH54=
+[rita.osmocom.org]:48 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK8iivY70EiR5NiGChV39gRLjNpC8lvu1ZdHtdMw2zuX
+|1|O5xYIsE8bHbUW58pmKefGEM6HH8=|j7qxwHHMh+S8ZxFX9sn4N/X3h3M= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPdWn1kEousXuKsZ+qJEZTt/NSeASxCrUfNDW3LWtH+d8Ust7ZuKp/vuyG+5pe5pwpPOgFu7TjN+0lVjYJVXH54=

-- 
To view, visit https://gerrit.osmocom.org/11740
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe0424ceace151115985896b6d43035c69067c50
Gerrit-Change-Number: 11740
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181112/9b9fd192/attachment.htm>


More information about the gerrit-log mailing list