diff options
author | Colin Walters <walters@verbum.org> | 2012-11-16 14:16:13 -0500 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-11-17 09:07:04 +0100 |
commit | 78623147bca4c739ebcebfa3a897f259d98db847 (patch) | |
tree | c978cb39821819eb76a60fb55ed6838aefc9abdf /data | |
parent | 8266f354ccdcff79c4471f50f7794a8ca665bd31 (diff) |
build: Only use pod2man if it exists
This fixes the build in gnome-ostree, where we don't have pod2man
to generate the manpages.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 292b879..38b3343 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -18,9 +18,13 @@ polkit_DATA = $(polkit_in_files:.policy.in=.policy) confdir = $(sysconfdir)/ conf_DATA = fprintd.conf -man_MANS = fprintd.1 +man_MANS = + +if BUILD_MAN +man_MANS += fprintd.1 fprintd.1: fprintd.pod $(AM_V_GEN) pod2man -c "" -s 1 -q none -n fprintd -r freedesktop $< > $@ +endif EXTRA_DIST = $(dbus_services_in_files) $(dbus_conf_DATA) $(polkit_in_files) $(conf_DATA) fprintd.pod CLEANFILES = $(polkit_DATA) $(dbus_services_DATA) fprintd.1 |