path: root/build
diff options
authorOliver Smith <>2018-11-14 11:09:31 +0100
committerOliver Smith <>2018-11-21 14:37:49 +0100
commite7446e88104796a76bc74929b21e320ddb3d4a62 (patch)
treea3160b08fbed29ed70e6a4bd059d8e54635b6303 /build
parentaec8d2b3d8bc8de681d46c7e1feff206eefea147 (diff)
publish from project repos, not this repo anymore
Do not publish PDFs for all projects anymore with --publish or "make publish". Extract known_hosts from, and install it along with the other shared files in OSMO_GSM_MANUALS_DIR. Add a "publish" target to, so we can use it from the project repositories. Document its usage in INSTALL.txt. No automatism for building and publishing the documentation of all projects will be implemented in this patch series, as discussed here: (moving manuals to project repositories 19/19) Related: OS#3385 Change-Id: Ibe0424ceace151115985896b6d43035c69067c50
Diffstat (limited to 'build')
2 files changed, 9 insertions, 0 deletions
diff --git a/build/ b/build/
index efd56f6..0ee648a 100644
--- a/build/
+++ b/build/
@@ -5,6 +5,7 @@
# Include this file at the end to have the common targets (upload, clean etc.).
+SSH_COMMAND = ssh -o 'UserKnownHostsFile=$(OSMO_GSM_MANUALS_DIR)/build/known_hosts' -p 48
UPLOAD_PATH ?= generic@sysmocom-downloads:documents
SYMLINKS = common build
@@ -19,3 +20,8 @@ clean:
-rm -rf $(CLEAN_FILES)
distclean: clean
+publish: all check
+ mkdir -p out
+ cp *.pdf out
+ rsync -avz -e "$(SSH_COMMAND)" ./out/
diff --git a/build/known_hosts b/build/known_hosts
new file mode 100644
index 0000000..c78b03d
--- /dev/null
+++ b/build/known_hosts
@@ -0,0 +1,3 @@
+[]:48 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDDgQ9HntlpWNmh953a2Gc8NysKE4orOatVT1wQkyzhARnfYUerRuwyNr1GqMyBKdSI9amYVBXJIOUFcpV81niA7zQRUs66bpIMkE9/rHxBd81SkorEPOIS84W4vm3SZtuNqa+fADcqe88Hcb0ZdTzjKILuwi19gzrQyME2knHY71EOETe9Yow5RD2hTIpB5ecNxI0LUKDq+Ii8HfBvndPBIr0BWYDugckQ3Bocf+yn/tn2/GZieFEyFpBGF/MnLbAAfUKIdeyFRX7ufaiWWz5yKAfEhtziqdAGZaXNaLG6gkpy3EixOAy6ZXuTAk3b3Y0FUmDjhOHllbPmTOcKMry9
+[]:48 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPdWn1kEousXuKsZ+qJEZTt/NSeASxCrUfNDW3LWtH+d8Ust7ZuKp/vuyG+5pe5pwpPOgFu7TjN+0lVjYJVXH54=
+[]:48 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK8iivY70EiR5NiGChV39gRLjNpC8lvu1ZdHtdMw2zuX