build/Makefile.common: full path for shrink script

Use the full path to shrink-pdfs.sh, so it works as expected when the
symlinks are not present. This is how pysim uses the publish/shrink
targets.

Fix for:
  build/shrink-pdfs.sh _build/latex/osmopysim-usermanual.pdf
  make: build/shrink-pdfs.sh: Command not found

Related: SYS#6380
Change-Id: Iba6e0e4932741adcb9e54e54eb7774716fb2e244
This commit is contained in:
Oliver Smith 2023-03-20 11:00:48 +01:00
parent 24cca7086b
commit 42cb9816db
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ $(SYMLINKS):
# Reduce pdf size by storing the embedded images with less quality (SYS#6380)
shrink: $(SHRINK_MARKER)
$(SHRINK_MARKER): $(UPLOAD_FILES)
build/shrink-pdfs.sh $(UPLOAD_FILES)
$(OSMO_GSM_MANUALS_DIR)/build/shrink-pdfs.sh $(UPLOAD_FILES)
# Publish to $UPLOAD_PATH
upload: shrink