aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/build.mk
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-12-28 17:58:19 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitc216854607c2ed2ab0df90f2e2ea5c44dfcb85ad (patch)
tree30454cc3d09f69cfc81ca1de24b08b62d796dd44 /libqpdf/build.mk
parentad096b462c12ae651b92ab12f2ab07ecb101c520 (diff)
downloadqpdf-c216854607c2ed2ab0df90f2e2ea5c44dfcb85ad.tar.zst
Add basic framework for QPDFJob code generation
Diffstat (limited to 'libqpdf/build.mk')
-rw-r--r--libqpdf/build.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libqpdf/build.mk b/libqpdf/build.mk
index 4f4020e9..4884a692 100644
--- a/libqpdf/build.mk
+++ b/libqpdf/build.mk
@@ -1,5 +1,11 @@
TARGETS_libqpdf = libqpdf/$(OUTPUT_DIR)/$(call libname,qpdf)
+ifeq ($(MAINTAINER_MODE), 1)
+ifeq ($(shell if ./generate_auto_job --check; then echo 0; else echo 1; fi), 1)
+_ := $(shell ./generate_auto_job --generate)
+endif
+endif
+
INCLUDES_libqpdf = include libqpdf
LDFLAGS_libqpdf = -Llibqpdf/$(OUTPUT_DIR)
LIBS_libqpdf = -lqpdf