aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--mk/build-doc.mk2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0e78fb7..e57cc25 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@
include mk/config.mk
+# Splits of the info manual.
+INFOPARTS = 1 2
+
# Object files for the libary.
LIBOBJ = linked-list client-list hash-table fd-table mds-message util
diff --git a/mk/build-doc.mk b/mk/build-doc.mk
index 613d2cc..d3b735c 100644
--- a/mk/build-doc.mk
+++ b/mk/build-doc.mk
@@ -30,7 +30,7 @@ obj/logo.ps: doc/logo.svg
rsvg-convert --format=ps $< > $@
-bin/%.info bin/%.info-1 bin/%.info-2: doc/info/%.texinfo doc/info/*.texinfo
+bin/%.info $(foreach P,$(INFOPARTS),bin/%.info-$(P)): doc/info/%.texinfo doc/info/*.texinfo
@mkdir -p bin
$(MAKEINFO) $(TEXIFLAGS) $<
mv $*.info $*.info-* bin