aboutsummaryrefslogtreecommitdiff
path: root/src/clients/instruo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/instruo/Makefile.am')
-rw-r--r--src/clients/instruo/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/clients/instruo/Makefile.am b/src/clients/instruo/Makefile.am
index 4c565f6ee..35ea24285 100644
--- a/src/clients/instruo/Makefile.am
+++ b/src/clients/instruo/Makefile.am
@@ -11,7 +11,6 @@ DEFS= \
SUBDIRS = .
bin_PROGRAMS = instruo
-noinst_PROGRAMS = man-instruo
man_MANS = instruo.1
SUFFIXES = .1 .txt .xml
@@ -20,6 +19,11 @@ man_MANS_txts = instruo.txt
man_MANS_xmls = instruo.xml
man_MANS_html_man_fragments = instruo.html-man-fragment
+if USE_PREBUILT_DOCUMENTATION
+else
+
+noinst_PROGRAMS = man-instruo
+
$(man_MANS_txts) : man-instruo
if ! ./man-instruo `echo $@ | sed -e 's.^instruo-*..' -e 's,\.txt$$,,'` > $@ ; then rm -f $@ ; exit 1 ; fi
@@ -50,6 +54,8 @@ man_instruo_LDADD = \
$(top_builddir)/src/output/liboutput.a \
$(DYNAMIC_LD_LIBS)
+endif
+
instruo_SOURCES = \
command_line.hh command_line.cc \
instruo.cc