OSMO_GSM_MANUALS_DIR ?= $(shell pkg-config osmo-gsm-manuals --variable=osmogsmmanualsdir 2>/dev/null) ifeq ($(OSMO_GSM_MANUALS_DIR),) $(error "osmo-gsm-manuals not found via pkg-config. Please install it.") endif # Without autotools, srcdir must be set explicitly so that Makefile.asciidoc.inc # can resolve {srcdir} in AsciiDoc include directives correctly. srcdir ?= $(CURDIR) ASCIIDOC = osmo-s1gw-usermanual.adoc include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc osmo-s1gw-usermanual.pdf: $(wildcard chapters/*.adoc) OSMO_REPOSITORY = osmo-s1gw include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc