summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 3ab7be6..376a714 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -1,20 +1,25 @@
-man_MANS = \
+pm_mans = \
on_ac_power.1 \
pm-pmu.1
+if HAVE_DOCBOOK
+man_MANS = \
+ $(pm_mans)
+endif
+
EXTRA_DIST = \
on_ac_power.sgml \
pm-pmu.sgml \
- $(man_MANS)
+ $(pm_mans)
MAINTAINERCLEANFILES = \
- $(man_MANS)
+ $(pm_mans)
pm-pmu.1: pm-pmu.sgml
- docbook2man $?
+ $(DOCBOOK2MAN) $?
on_ac_power.1: on_ac_power.sgml
- docbook2man $?
+ $(DOCBOOK2MAN) $?
clean-local :
rm -f *~