aboutsummaryrefslogtreecommitdiff
path: root/src/clients/accerso/Makefile.am
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-01 19:42:56 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-01 19:46:09 +0100
commitb08f34f43db2c681c1fdd3f7d375d359c86306d5 (patch)
tree22a54b6fab1c240c34bdf72e630a647be74097b5 /src/clients/accerso/Makefile.am
parentf1e473480062295181b9641990f48be17a9a892d (diff)
downloadpaludis-b08f34f43db2c681c1fdd3f7d375d359c86306d5.tar.gz
paludis-b08f34f43db2c681c1fdd3f7d375d359c86306d5.tar.xz
Add --enable-prebuilt-documentation
Diffstat (limited to 'src/clients/accerso/Makefile.am')
-rw-r--r--src/clients/accerso/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/clients/accerso/Makefile.am b/src/clients/accerso/Makefile.am
index 792b8f0d2..6be9fd7a6 100644
--- a/src/clients/accerso/Makefile.am
+++ b/src/clients/accerso/Makefile.am
@@ -11,7 +11,6 @@ DEFS= \
SUBDIRS = .
bin_PROGRAMS = accerso
-noinst_PROGRAMS = man-accerso
man_MANS = accerso.1
SUFFIXES = .1 .txt .xml .html-man-fragment
@@ -20,6 +19,11 @@ man_MANS_txts = accerso.txt
man_MANS_xmls = accerso.xml
man_MANS_html_man_fragments = accerso.html-man-fragment
+if USE_PREBUILT_DOCUMENTATION
+else
+
+noinst_PROGRAMS = man-accerso
+
$(man_MANS_txts) : man-accerso
if ! ./man-accerso `echo $@ | sed -e 's.^accerso-*..' -e 's,\.txt$$,,'` > $@ ; then rm -f $@ ; exit 1 ; fi
@@ -50,6 +54,8 @@ man_accerso_LDADD = \
$(top_builddir)/src/output/liboutput.a \
$(DYNAMIC_LD_LIBS)
+endif
+
accerso_SOURCES = \
command_line.hh command_line.cc \
accerso.cc