mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
build: Only use pod2man if it exists
This fixes the build in gnome-ostree, where we don't have pod2man to generate the manpages.
This commit is contained in:
committed by
Bastien Nocera
parent
8266f354cc
commit
78623147bc
@ -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
|
||||
|
||||
Reference in New Issue
Block a user