aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-20 11:00:48 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-20 11:15:46 +0100
commit42cb9816db73d1f4a5dfa560737eb9a702db178c (patch)
tree33de9851d1824ba8f02d482b4a2cd01ae8a5f189
parent24cca7086b2c7f8bb12fbb1f03fa0a438e2493ab (diff)
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
-rw-r--r--build/Makefile.common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile.common.inc b/build/Makefile.common.inc
index 9e79621..80f2c19 100644
--- a/build/Makefile.common.inc
+++ b/build/Makefile.common.inc
@@ -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