aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-03-08 12:53:33 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-03-15 01:43:12 +0100
commit8cac3802cb2c88926bf683af475eba0f459c703f (patch)
tree0df6e99526ca89d1946ec76b7494b02237cce0c8
parentAdd native UUID generator. (diff)
downloadcalp-8cac3802cb2c88926bf683af475eba0f459c703f.tar.gz
calp-8cac3802cb2c88926bf683af475eba0f459c703f.tar.xz
Bulid and install info files from main make.
-rw-r--r--Makefile2
-rw-r--r--doc/ref/Makefile9
2 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bb3b0b6b..b7cea836 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ GUILE_C_FLAGS = -Lmodule \
-Wduplicate-case-datum -Wbad-case-datum
all: go_files README static
+ $(MAKE) -C doc/ref
static:
$(MAKE) -C static
@@ -43,6 +44,7 @@ install: all
rsync -a obj-$(GUILE_VERSION)/ $(DESTDIR)$(GUILE_CCACHE_DIR)
install -d $(DESTDIR)/usr/share/calp/www
$(MAKE) -C static install
+ $(MAKE) -C doc/ref install
install -m 644 -D -t $(DESTDIR)/usr/share/doc/calp README
install -m 755 -D -t $(DESTDIR)/usr/lib/calp/ scripts/tzget
install -m755 -D production-main $(DESTDIR)/usr/bin/calp
diff --git a/doc/ref/Makefile b/doc/ref/Makefile
index 2232a70e..79486a46 100644
--- a/doc/ref/Makefile
+++ b/doc/ref/Makefile
@@ -1,7 +1,12 @@
+.PHONY: all install
+
TEXI_FILES := $(shell find . -type f -name \*.texi)
-INFOFLAGS :=
+INFOFLAGS := --no-split
all: calp.info
calp.info: $(TEXI_FILES)
- makeinfo $(INFOFLAGS) calp.texi
+ makeinfo -o $@ $(INFOFLAGS) calp.texi
+
+install: all
+ install -m644 -D -t $(DESTDIR)/usr/share/info/ calp.info