summaryrefslogtreecommitdiff
path: root/extras/volume_id/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-07-30 01:45:23 +0200
commit01618658fd82dbc5e6315b639f00e87c6fee3c54 (patch)
treedf8e628d04a81186d6d431fd3b1fa50a3d34987a /extras/volume_id/Makefile.am
parent726687ad48bdececed1e7e44387c50e009e28208 (diff)
use autotools
Diffstat (limited to 'extras/volume_id/Makefile.am')
-rw-r--r--extras/volume_id/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/extras/volume_id/Makefile.am b/extras/volume_id/Makefile.am
new file mode 100644
index 0000000000..bc1b262f27
--- /dev/null
+++ b/extras/volume_id/Makefile.am
@@ -0,0 +1,33 @@
+SUBDIRS = \
+ lib
+
+udevhomedir = $(udev_prefix)/lib/udev
+udevhome_PROGRAMS = \
+ vol_id
+
+AM_CPPFLAGS = \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ -DUDEV_PREFIX=\""$(udev_prefix)"\"
+
+vol_id_SOURCES = \
+ vol_id.c \
+ ../../udev/udev_sysdeps.c \
+ ../../udev/udev_utils.c \
+ ../../udev/udev_utils_string.c
+
+vol_id_LDADD = \
+ lib/libvolume_id.la
+
+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)
+