summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-07-18 02:36:40 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-07-18 19:59:53 +0900
commitf3d12ac00bf3d7368b69087bdf199b9929aa50d8 (patch)
treec4b8c3147ab7232754534a7e277aff6eb321849c /doc
parent7f2b95bd6dbf83c927a8ddf46ea67c91726dfe1d (diff)
downloadtdebindings-f3d12ac00bf3d7368b69087bdf199b9929aa50d8.tar.gz
tdebindings-f3d12ac00bf3d7368b69087bdf199b9929aa50d8.zip
Added conditions for installing man pages according to parts that are builded.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 37c8286f0c03c860167e6c5f34807a9d13e36a6a)
Diffstat (limited to 'doc')
-rw-r--r--doc/man/Makefile.am23
1 files changed, 20 insertions, 3 deletions
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index ad36d631..1f739ad7 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -1,4 +1,21 @@
+if BUILD_dcopjava
+ DCOPJAVA_MAN=dcopidl2java.1
+endif
+
+KJSEMBED_MAN=kjscmd.1
+
+if BUILD_korundum
+ KORUNDUM_MAN=krubyinit.1 rbtdeapi.1 rbtdesh.1
+endif
+
+if BUILD_qtjava
+ QTJAVA_MAN=juic.1
+endif
+
+if BUILD_qtruby
+ QTRUBY_MAN=qtrubyinit.1 rbqtapi.1 rbqtsh.1 rbuic.1
+endif
+
tmpdir = $(mandir)/man1
-tmp_DATA = dcopidl2java.1 juic.1 kjscmd.1 krubyinit.1 qtrubyinit.1 \
-rbqtapi.1 rbqtsh.1 rbtdeapi.1 rbtdesh.1 rbuic.1
-EXTRA_DIST=$(tmp_DATA)
+tmp_DATA = $(DCOPJAVA_MAN) $(KJSEMBED_MAN) $(KORUNDUM_MAN) $(QTJAVA_MAN) $(QTRUBY_MAN)
+EXTRA_DIST=$(DCOPJAVA_MAN) $(KJSEMBED_MAN) $(KORUNDUM_MAN) $(QTJAVA_MAN) $(QTRUBY_MAN)