Cosmetic: build/Makefile.common.inc: add comments

Describe what upload and publish do, it's not clear from the name of
these make targets.

Related: SYS#6380
Change-Id: Ic2ab9df2192912d20ede0241abe01e8d26a9afcc
This commit is contained in:
Oliver Smith 2023-03-16 12:38:15 +01:00
parent 7a71db4d0a
commit 2cef0dc72f
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ prefix ?= /usr/local
$(SYMLINKS):
ln -s $(OSMO_GSM_MANUALS_DIR)/$@ $@
# Publish to $UPLOAD_PATH
upload: $(UPLOAD_FILES)
rsync -avz $(UPLOAD_FILES) $(UPLOAD_PATH)/
@ -28,6 +29,7 @@ clean:
distclean: clean
# Publish to https://ftp.osmocom.org/docs/
publish: $(UPLOAD_FILES)
[ -n "$(OSMO_REPOSITORY)" ] || exit 1
rm -rf "$(PUBLISH_TEMPDIR)"