summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile.am
blob: 4d904d83c36144a979aafa9e387276a48b2e3b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include $(top_srcdir)/Makefile.am.inc

SUBDIRS = \
	lib

udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
	vol_id

vol_id_SOURCES = \
	vol_id.c \
	../../udev/lib/libudev.h \
	../../udev/lib/libudev.c \
	../../udev/lib/libudev-util.c

vol_id_LDADD = \
	lib/libvolume_id.la

if USE_SELINUX
vol_id_LDADD += \
	$(SELINUX_LIBS)
endif

dist_man_MANS = \
	vol_id.8

EXTRA_DIST = \
	vol_id.xml

%.7 %.8 : %.xml
	$(XSLTPROC) -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

distclean-local:
	rm -f Makefile.in
	rm -f $(dist_man_MANS)