diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-08 11:45:37 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-09 08:47:50 -0500 |
commit | 9f06e912f6a0db45c80d41e94eea65caae7a7c90 (patch) | |
tree | 9aff45bf5750e334d75957da15372a9947ebd8b5 /Makefile.am | |
parent | 80cb917e6248c15fd4a95d29954b3fd1e3d66b06 (diff) |
systemd-python: provide version info to sphinx
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index bea545259d..7b1f17f65a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3551,7 +3551,7 @@ BUILT_SOURCES += \ src/python-systemd/id128-constants.h PAPER = $(shell cat /etc/papersize 2>/dev/null || echo a4) -SPHINXOPTS = -D latex_paper_size=$(PAPER) +SPHINXOPTS = -D latex_paper_size=$(PAPER) -D version=$(VERSION) -D release=$(VERSION) sphinx-%: $(AM_V_at)test -n "$(SPHINX_BUILD)" || { echo " *** sphinx-build is not available"; exit 1; } $(AM_V_GEN)PYTHONPATH=$(DESTDIR)$(pyexecdir) LD_LIBRARY_PATH=$(DESTDIR)$(libdir) $(SPHINX_BUILD) -b $* $(SPHINXOPTS) $(top_srcdir)/src/python-systemd/docs $(top_builddir)/docs/html/python-systemd/ |