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