Change in osmo-gsm-manuals[master]: Makefile.common.inc: make 'publish' target use $(UPLOAD_FILES)

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Nov 6 10:41:29 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/21055 )

Change subject: Makefile.common.inc: make 'publish' target use $(UPLOAD_FILES)
......................................................................

Makefile.common.inc: make 'publish' target use $(UPLOAD_FILES)

In some projects, the VTY reference PDFs may be located in sub-
directories.  Let's use $(UPLOAD_FILES), it already contains
the list of all *.pdf files to be uploaded / published.

Change-Id: I7d46dc3b67dee1a91f3ade5a166d833df816abd4
Related: SYS#4937
---
M build/Makefile.common.inc
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/build/Makefile.common.inc b/build/Makefile.common.inc
index b98e83f..ca06962 100644
--- a/build/Makefile.common.inc
+++ b/build/Makefile.common.inc
@@ -27,10 +27,8 @@
 
 distclean: clean
 
-publish: all
-	mkdir -p out
-	cp *.pdf out
-	rsync -avz -e "$(SSH_COMMAND)" ./out/ docs at rita.osmocom.org:web-files/latest/
+publish: $(UPLOAD_FILES)
+	rsync -avz -e "$(SSH_COMMAND)" $(UPLOAD_FILES) docs at rita.osmocom.org:web-files/latest/
 
 # Install and uninstall targets
 # Notes about OSMO_GSM_MANUALS_NO_INSTALL:

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/21055
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I7d46dc3b67dee1a91f3ade5a166d833df816abd4
Gerrit-Change-Number: 21055
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201106/2ca0e9bf/attachment.htm>


More information about the gerrit-log mailing list