From ff86b25a5d462846d80a7d33262a27665191a2f3 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 6 Nov 2020 17:08:51 +0700 Subject: [PATCH] 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 --- build/Makefile.common.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 @@ clean: distclean: clean -publish: all - mkdir -p out - cp *.pdf out - rsync -avz -e "$(SSH_COMMAND)" ./out/ docs@rita.osmocom.org:web-files/latest/ +publish: $(UPLOAD_FILES) + rsync -avz -e "$(SSH_COMMAND)" $(UPLOAD_FILES) docs@rita.osmocom.org:web-files/latest/ # Install and uninstall targets # Notes about OSMO_GSM_MANUALS_NO_INSTALL: