2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
# Copyright (C) 2008-2012 Kay Sievers <kay.sievers@vrfy.org>
2009-08-14 21:27:00 +04:00
# Copyright (C) 2009 Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
# ------------------------------------------------------------------------------
2008-07-30 03:45:23 +04:00
2009-08-14 21:27:00 +04:00
SUBDIRS = .
2008-12-06 06:03:08 +03:00
2011-08-16 18:21:42 +04:00
ACLOCAL_AMFLAGS = -I m4 ${ ACLOCAL_FLAGS }
2009-02-26 16:11:43 +03:00
2009-08-06 17:51:47 +04:00
AM_MAKEFLAGS = --no-print-directory
2009-08-07 21:44:30 +04:00
AM_CPPFLAGS = \
-include $( top_builddir) /config.h \
2012-01-06 01:41:45 +04:00
-I$( top_srcdir) /src \
2009-08-07 21:44:30 +04:00
-DSYSCONFDIR= \" " $( sysconfdir) " \" \
2012-01-05 22:13:41 +04:00
-DPKGLIBEXECDIR= \" " $( libexecdir) /udev " \"
2009-08-07 21:44:30 +04:00
2011-05-18 20:29:24 +04:00
AM_CFLAGS = \
2011-12-23 16:38:46 +04:00
${ my_CFLAGS } \
2011-05-18 20:29:24 +04:00
-fvisibility= hidden \
-ffunction-sections \
-fdata-sections
2009-08-07 21:44:30 +04:00
AM_LDFLAGS = \
2011-05-18 20:29:24 +04:00
-Wl,--gc-sections \
2009-08-07 21:44:30 +04:00
-Wl,--as-needed
2009-06-16 19:43:12 +04:00
DISTCHECK_CONFIGURE_FLAGS = \
2012-01-24 06:20:46 +04:00
--enable-debug \
--enable-rule_generator \
--enable-udev_acl \
--enable-floppy \
--enable-edd \
--with-selinux \
2010-06-25 12:42:33 +04:00
--enable-gtk-doc \
--with-systemdsystemunitdir= $$ dc_install_base/$( systemdsystemunitdir)
2009-06-15 15:22:21 +04:00
2011-04-29 16:27:11 +04:00
BUILT_SOURCES =
2011-12-21 18:27:27 +04:00
EXTRA_DIST =
CLEANFILES =
2010-09-03 15:30:57 +04:00
INSTALL_EXEC_HOOKS =
INSTALL_DATA_HOOKS =
UNINSTALL_EXEC_HOOKS =
DISTCHECK_HOOKS =
2012-01-06 17:34:40 +04:00
DISTCLEAN_LOCAL_HOOKS =
2012-01-06 01:41:45 +04:00
udevhomedir = $( libexecdir) /udev
udevhome_SCRIPTS =
dist_udevhome_SCRIPTS =
dist_udevhome_DATA =
2012-01-10 02:44:47 +04:00
dist_man_MANS =
2010-09-03 15:30:57 +04:00
2011-12-21 18:27:27 +04:00
SED_PROCESS = \
2011-12-25 23:41:52 +04:00
$( AM_V_GEN) $( MKDIR_P) $( dir $@ ) && $( SED) \
2011-12-21 18:27:27 +04:00
-e 's,@VERSION\@,$(VERSION),g' \
-e 's,@prefix\@,$(prefix),g' \
2011-12-25 23:41:52 +04:00
-e 's,@rootprefix\@,$(rootprefix),g' \
2011-12-21 18:27:27 +04:00
-e 's,@exec_prefix\@,$(exec_prefix),g' \
-e 's,@libdir\@,$(libdir),g' \
-e 's,@includedir\@,$(includedir),g' \
-e 's,@bindir\@,$(bindir),g' \
2012-01-05 22:13:41 +04:00
-e 's,@pkglibexecdir\@,$(libexecdir)/udev,g' \
2011-12-21 18:27:27 +04:00
< $< > $@ || rm $@
%.pc : %.pc .in Makefile
$( SED_PROCESS)
%.rules : %.rules .in Makefile
$( SED_PROCESS)
2011-12-25 23:41:52 +04:00
%.service : %.service .in Makefile
2011-12-21 18:27:27 +04:00
$( SED_PROCESS)
2011-12-25 23:41:52 +04:00
%.sh : %.sh .in Makefile
2011-12-21 18:27:27 +04:00
$( SED_PROCESS)
2011-12-25 23:41:52 +04:00
$( AM_V_GEN) chmod +x $@
%.pl : %.pl .in Makefile
$( SED_PROCESS)
$( AM_V_GEN) chmod +x $@
2011-12-21 18:27:27 +04:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# libudev
# ------------------------------------------------------------------------------
2011-10-06 03:10:59 +04:00
LIBUDEV_CURRENT = 13
2012-01-21 09:00:17 +04:00
LIBUDEV_REVISION = 1
2011-10-06 03:10:59 +04:00
LIBUDEV_AGE = 13
2009-08-07 04:01:29 +04:00
2012-01-06 01:41:45 +04:00
SUBDIRS += src/docs
2009-08-07 04:52:49 +04:00
2012-01-06 01:41:45 +04:00
include_HEADERS = src/libudev.h
lib_LTLIBRARIES = src/libudev.la
2009-08-07 04:01:29 +04:00
2012-01-06 01:41:45 +04:00
src_libudev_la_SOURCES = \
src/libudev-private.h \
src/libudev.c \
src/libudev-list.c \
src/libudev-util.c \
src/libudev-device.c \
src/libudev-enumerate.c \
src/libudev-monitor.c \
src/libudev-queue.c
2009-08-07 04:01:29 +04:00
2012-01-06 01:41:45 +04:00
src_libudev_la_LDFLAGS = \
2011-11-04 18:16:35 +04:00
$( AM_LDFLAGS) \
2011-05-20 16:41:10 +04:00
-version-info $( LIBUDEV_CURRENT) :$( LIBUDEV_REVISION) :$( LIBUDEV_AGE)
2009-08-07 04:01:29 +04:00
noinst_LTLIBRARIES = \
2012-01-06 01:41:45 +04:00
src/libudev-private.la
2009-08-07 04:01:29 +04:00
2012-01-06 01:41:45 +04:00
src_libudev_private_la_SOURCES = \
$( src_libudev_la_SOURCES) \
src/libudev-util-private.c \
src/libudev-device-private.c \
src/libudev-queue-private.c
2009-08-07 04:01:29 +04:00
2009-08-14 21:27:00 +04:00
i f W I T H _ S E L I N U X
2012-01-06 01:41:45 +04:00
src_libudev_private_la_SOURCES += src/libudev-selinux-private.c
src_libudev_private_la_LIBADD = $( SELINUX_LIBS)
2009-08-14 21:27:00 +04:00
e n d i f
2009-08-07 04:01:29 +04:00
2009-08-14 16:17:50 +04:00
pkgconfigdir = $( libdir) /pkgconfig
2012-01-06 01:41:45 +04:00
pkgconfig_DATA = src/libudev.pc
EXTRA_DIST += src/libudev.pc.in
CLEANFILES += src/libudev.pc
2009-08-14 16:17:50 +04:00
2012-01-06 01:41:45 +04:00
EXTRA_DIST += src/COPYING
2009-08-14 21:27:00 +04:00
# move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed
libudev-install-move-hook :
if test " $( libdir) " != " $( rootlib_execdir) " ; then \
mkdir -p $( DESTDIR) $( rootlib_execdir) && \
so_img_name = $$ ( readlink $( DESTDIR) $( libdir) /libudev.so) && \
so_img_rel_target_prefix = $$ ( echo $( libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g' ) && \
ln -sf $$ so_img_rel_target_prefix$( rootlib_execdir) /$$ so_img_name $( DESTDIR) $( libdir) /libudev.so && \
mv $( DESTDIR) $( libdir) /libudev.so.* $( DESTDIR) $( rootlib_execdir) ; \
fi
2009-08-07 05:16:32 +04:00
2009-08-14 21:27:00 +04:00
libudev-uninstall-move-hook :
rm -f $( DESTDIR) $( rootlib_execdir) /libudev.so*
2009-08-07 05:16:32 +04:00
2010-09-03 15:30:57 +04:00
INSTALL_EXEC_HOOKS += libudev-install-move-hook
UNINSTALL_EXEC_HOOKS += libudev-uninstall-move-hook
2009-08-07 05:16:32 +04:00
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2009-08-14 21:27:00 +04:00
# main udev
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2010-09-03 15:30:57 +04:00
udev-confdirs :
2009-08-14 21:27:00 +04:00
-mkdir -p $( DESTDIR) $( sysconfdir) /udev/rules.d
2012-01-05 22:13:41 +04:00
-mkdir -p $( DESTDIR) $( libexecdir) /udev/devices
2009-08-14 21:27:00 +04:00
2010-09-03 15:30:57 +04:00
INSTALL_DATA_HOOKS += udev-confdirs
2009-08-14 21:27:00 +04:00
EXTRA_DIST += \
2010-05-30 17:16:53 +04:00
rules/arch \
2010-06-24 11:35:39 +04:00
rules/misc
2009-08-14 21:27:00 +04:00
2012-01-05 22:13:41 +04:00
udevrulesdir = $( libexecdir) /udev/rules.d
2009-08-14 21:27:00 +04:00
dist_udevrules_DATA = \
rules/rules.d/50-udev-default.rules \
rules/rules.d/60-persistent-storage-tape.rules \
rules/rules.d/60-persistent-serial.rules \
rules/rules.d/60-persistent-input.rules \
rules/rules.d/60-persistent-alsa.rules \
2011-12-23 06:23:37 +04:00
rules/rules.d/60-persistent-storage.rules \
2011-12-27 20:02:52 +04:00
rules/rules.d/75-net-description.rules \
rules/rules.d/75-tty-description.rules \
rules/rules.d/78-sound-card.rules \
2011-12-23 07:54:08 +04:00
rules/rules.d/80-drivers.rules \
2009-08-14 21:27:00 +04:00
rules/rules.d/95-udev-late.rules
udevconfdir = $( sysconfdir) /udev
2012-01-06 01:41:45 +04:00
dist_udevconf_DATA = src/udev.conf
2009-08-14 21:27:00 +04:00
sharepkgconfigdir = $( datadir) /pkgconfig
2012-01-06 01:41:45 +04:00
sharepkgconfig_DATA = src/udev.pc
EXTRA_DIST += src/udev.pc.in
CLEANFILES += src/udev.pc
2009-08-07 04:01:29 +04:00
2010-06-25 12:30:55 +04:00
i f W I T H _ S Y S T E M D
2011-12-21 18:27:27 +04:00
dist_systemdsystemunit_DATA = \
2012-01-06 01:41:45 +04:00
src/udev-control.socket \
src/udev-kernel.socket
2011-12-21 18:27:27 +04:00
systemdsystemunit_DATA = \
2012-01-06 01:41:45 +04:00
src/udev.service \
src/udev-trigger.service \
src/udev-settle.service
2010-09-03 15:30:57 +04:00
2011-05-25 02:56:48 +04:00
EXTRA_DIST += \
2012-01-06 01:41:45 +04:00
src/udev.service.in \
src/udev-trigger.service.in \
src/udev-settle.service.in
2011-12-21 18:27:27 +04:00
CLEANFILES += \
2012-01-06 01:41:45 +04:00
src/udev.service \
src/udev-trigger.service \
src/udev-settle.service
2011-03-23 18:40:23 +03:00
2010-09-03 15:30:57 +04:00
systemd-install-hook :
2011-03-23 22:35:19 +03:00
mkdir -p $( DESTDIR) $( systemdsystemunitdir) /sockets.target.wants
2011-05-25 02:56:48 +04:00
ln -sf ../udev-control.socket $( DESTDIR) $( systemdsystemunitdir) /sockets.target.wants/udev-control.socket
ln -sf ../udev-kernel.socket $( DESTDIR) $( systemdsystemunitdir) /sockets.target.wants/udev-kernel.socket
2010-09-29 02:48:35 +04:00
mkdir -p $( DESTDIR) $( systemdsystemunitdir) /basic.target.wants
ln -sf ../udev.service $( DESTDIR) $( systemdsystemunitdir) /basic.target.wants/udev.service
2011-03-23 18:40:23 +03:00
ln -sf ../udev-trigger.service $( DESTDIR) $( systemdsystemunitdir) /basic.target.wants/udev-trigger.service
2010-09-03 15:30:57 +04:00
INSTALL_DATA_HOOKS += systemd-install-hook
2010-06-25 12:30:55 +04:00
e n d i f
2011-12-01 15:17:22 +04:00
bin_PROGRAMS = \
2012-01-06 01:41:45 +04:00
src/udevadm
2009-08-07 04:01:29 +04:00
2012-01-05 22:13:41 +04:00
pkglibexec_PROGRAMS = \
2012-01-06 01:41:45 +04:00
src/udevd
2011-10-10 22:27:20 +04:00
2011-12-22 01:30:48 +04:00
udev_common_sources = \
2012-01-06 01:41:45 +04:00
src/udev.h \
src/udev-event.c \
src/udev-watch.c \
src/udev-node.c \
src/udev-rules.c \
src/udev-ctrl.c \
src/udev-builtin.c \
src/udev-builtin-blkid.c \
src/udev-builtin-firmware.c \
src/udev-builtin-hwdb.c \
src/udev-builtin-input_id.c \
src/udev-builtin-kmod.c \
src/udev-builtin-path_id.c \
src/udev-builtin-usb_id.c
2011-12-22 01:30:48 +04:00
udev_common_CFLAGS = \
2011-12-23 16:38:46 +04:00
$( BLKID_CFLAGS) \
$( KMOD_CFLAGS)
2011-12-22 01:30:48 +04:00
udev_common_LDADD = \
2012-01-06 01:41:45 +04:00
src/libudev-private.la \
2011-12-23 16:38:46 +04:00
$( BLKID_LIBS) \
2011-12-23 21:19:18 +04:00
$( KMOD_LIBS)
2009-08-07 04:01:29 +04:00
2011-12-25 20:58:30 +04:00
udev_common_CPPFLAGS = \
$( AM_CPPFLAGS) \
2011-12-27 20:02:52 +04:00
-DFIRMWARE_PATH= " $( FIRMWARE_PATH) " \
-DUSB_DATABASE= \" $( USB_DATABASE) \" -DPCI_DATABASE= \" $( PCI_DATABASE) \"
2011-12-25 20:58:30 +04:00
2012-01-06 01:41:45 +04:00
src_udevd_SOURCES = \
2009-08-07 04:01:29 +04:00
$( udev_common_sources) \
2012-01-06 01:41:45 +04:00
src/udevd.c \
src/sd-daemon.h \
src/sd-daemon.c
src_udevd_CFLAGS = $( udev_common_CFLAGS)
src_udevd_LDADD = $( udev_common_LDADD)
src_udevd_CPPFLAGS = $( udev_common_CPPFLAGS)
src_udevadm_SOURCES = \
2009-08-07 04:01:29 +04:00
$( udev_common_sources) \
2012-01-06 01:41:45 +04:00
src/udevadm.c \
src/udevadm-info.c \
src/udevadm-control.c \
src/udevadm-monitor.c \
src/udevadm-settle.c \
src/udevadm-trigger.c \
src/udevadm-test.c \
src/udevadm-test-builtin.c
src_udevadm_CFLAGS = $( udev_common_CFLAGS)
src_udevadm_LDADD = $( udev_common_LDADD)
src_udevadm_CPPFLAGS = $( udev_common_CPPFLAGS)
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
2010-01-25 12:48:04 +03:00
# udev man pages
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
2012-02-13 02:23:12 +04:00
i f E N A B L E _ M A N P A G E S
2012-01-10 02:44:47 +04:00
dist_man_MANS += \
2012-01-06 01:41:45 +04:00
src/udev.7 \
src/udevadm.8 \
src/udevd.8
2012-02-13 02:23:12 +04:00
e n d i f
2009-08-14 21:27:00 +04:00
EXTRA_DIST += \
2012-01-06 01:41:45 +04:00
src/udev.xml \
src/udevadm.xml \
src/udevd.xml
2009-08-14 21:27:00 +04:00
2012-01-25 19:54:24 +04:00
i f H A V E _ X S L T P R O C
dist_noinst_DATA = \
src/udev.html \
src/udevadm.html \
src/udevd.html
2012-01-06 01:41:45 +04:00
src/%.7 src/%.8 : src /%.xml
2010-05-24 19:00:15 +04:00
$( AM_V_GEN) $( XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
2009-08-14 21:27:00 +04:00
2012-01-06 01:41:45 +04:00
src/%.html : src /%.xml
2010-12-26 18:01:13 +03:00
$( AM_V_GEN) $( XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
2012-01-10 02:44:47 +04:00
e n d i f
2010-12-26 18:01:13 +03:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# udev tests
# ------------------------------------------------------------------------------
2011-12-25 23:41:52 +04:00
TESTS = \
test/udev-test.pl \
test/rules-test.sh
2009-08-14 21:27:00 +04:00
check_PROGRAMS = \
2012-01-06 01:41:45 +04:00
src/test-libudev \
src/test-udev
2009-08-14 21:27:00 +04:00
2012-01-06 01:41:45 +04:00
src_test_libudev_SOURCES = src/test-libudev.c
src_test_libudev_LDADD = src/libudev.la
2009-08-14 21:27:00 +04:00
2012-01-06 01:41:45 +04:00
src_test_udev_SOURCES = \
2009-08-14 21:27:00 +04:00
$( udev_common_sources) \
2012-01-06 01:41:45 +04:00
src/test-udev.c
src_test_udev_CFLAGS = $( udev_common_CFLAGS)
src_test_udev_LDADD = $( udev_common_LDADD)
src_test_udev_CPPFLAGS = $( udev_common_CPPFLAGS)
2012-02-13 01:21:08 +04:00
src_test_udev_DEPENDENCIES = test/sys
2009-12-15 18:28:52 +03:00
2012-01-06 17:34:40 +04:00
# packed sysfs test tree
2012-02-13 01:21:08 +04:00
test/sys :
2012-01-06 17:34:40 +04:00
$( AM_V_GEN) mkdir -p test && tar -C test/ -xJf $( top_srcdir) /test/sys.tar.xz
test-sys-distclean :
-rm -rf test/sys
DISTCLEAN_LOCAL_HOOKS += test-sys-distclean
EXTRA_DIST += test/sys.tar.xz
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# ata_id - ATA identify
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_ata_id_ata_id_SOURCES = src/extras/ata_id/ata_id.c
src_extras_ata_id_ata_id_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/extras/ata_id/ata_id
2009-08-07 04:01:29 +04:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# cdrom_id - optical drive/media capability
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_cdrom_id_cdrom_id_SOURCES = src/extras/cdrom_id/cdrom_id.c
src_extras_cdrom_id_cdrom_id_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/extras/cdrom_id/cdrom_id
dist_udevrules_DATA += src/extras/cdrom_id/60-cdrom_id.rules
2009-08-07 04:01:29 +04:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# collect - trigger action when a collection of devices appeared
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_collect_collect_SOURCES = src/extras/collect/collect.c
src_extras_collect_collect_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/extras/collect/collect
2009-08-07 04:01:29 +04:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# scsi_id - SCSI inquiry to get various serial numbers
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_scsi_id_scsi_id_SOURCES = \
src/extras/scsi_id/scsi_id.c \
src/extras/scsi_id/scsi_serial.c \
src/extras/scsi_id/scsi.h \
src/extras/scsi_id/scsi_id.h
src_extras_scsi_id_scsi_id_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/extras/scsi_id/scsi_id
dist_man_MANS += src/extras/scsi_id/scsi_id.8
EXTRA_DIST += src/extras/scsi_id/README
2009-08-07 04:01:29 +04:00
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# v4l_id - video4linux capabilities
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_v4l_id_v4l_id_SOURCES = src/extras/v4l_id/v4l_id.c
src_extras_v4l_id_v4l_id_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/extras/v4l_id/v4l_id
dist_udevrules_DATA += src/extras/v4l_id/60-persistent-v4l.rules
2009-08-07 04:01:29 +04:00
2011-06-06 20:44:09 +04:00
# ------------------------------------------------------------------------------
# accelerometer - updates device orientation
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_extras_accelerometer_accelerometer_SOURCES = src/extras/accelerometer/accelerometer.c
src_extras_accelerometer_accelerometer_LDADD = src/libudev-private.la -lm
pkglibexec_PROGRAMS += src/extras/accelerometer/accelerometer
dist_udevrules_DATA += src/extras/accelerometer/61-accelerometer.rules
2011-06-06 20:44:09 +04:00
2011-01-25 17:51:07 +03:00
# ------------------------------------------------------------------------------
# qemu -- qemu/kvm guest tweaks
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
dist_udevrules_DATA += src/extras/qemu/42-qemu-usb.rules
2011-01-25 17:51:07 +03:00
2011-04-29 16:27:11 +04:00
i f E N A B L E _ G U D E V
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2009-08-16 23:14:39 +04:00
# GUdev - libudev gobject interface
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2010-12-15 11:06:05 +03:00
LIBGUDEV_CURRENT = 1
2011-11-08 02:28:10 +04:00
LIBGUDEV_REVISION = 1
2010-12-15 11:06:05 +03:00
LIBGUDEV_AGE = 1
2009-08-07 04:23:01 +04:00
2012-01-06 01:41:45 +04:00
SUBDIRS += src/extras/gudev/docs
src_extras_gudev_libgudev_includedir = $( includedir) /gudev-1.0/gudev
src_extras_gudev_libgudev_include_HEADERS = \
src/extras/gudev/gudev.h \
src/extras/gudev/gudevenums.h \
src/extras/gudev/gudevenumtypes.h \
src/extras/gudev/gudevtypes.h \
src/extras/gudev/gudevclient.h \
src/extras/gudev/gudevdevice.h \
src/extras/gudev/gudevenumerator.h
lib_LTLIBRARIES += src/extras/gudev/libgudev-1.0.la
pkgconfig_DATA += src/extras/gudev/gudev-1.0.pc
EXTRA_DIST += src/extras/gudev/gudev-1.0.pc.in
CLEANFILES += src/extras/gudev/gudev-1.0.pc
src_extras_gudev_libgudev_1_0_la_SOURCES = \
src/extras/gudev/gudevenums.h \
src/extras/gudev/gudevenumtypes.h \
src/extras/gudev/gudevenumtypes.h\
src/extras/gudev/gudevtypes.h \
src/extras/gudev/gudevclient.h \
src/extras/gudev/gudevclient.c \
src/extras/gudev/gudevdevice.h \
src/extras/gudev/gudevdevice.c \
src/extras/gudev/gudevenumerator.h \
src/extras/gudev/gudevenumerator.c \
src/extras/gudev/gudevprivate.h
nodist_src_extras_gudev_libgudev_1_0_la_SOURCES = \
src/extras/gudev/gudevmarshal.h \
src/extras/gudev/gudevmarshal.c \
src/extras/gudev/gudevenumtypes.h \
src/extras/gudev/gudevenumtypes.c
BUILT_SOURCES += $( nodist_src_extras_gudev_libgudev_1_0_la_SOURCES)
src_extras_gudev_libgudev_1_0_la_CPPFLAGS = \
2009-08-14 21:27:00 +04:00
$( AM_CPPFLAGS) \
2012-01-06 01:41:45 +04:00
-I$( top_builddir) /src/extras \
-I$( top_srcdir) /src/extras \
-I$( top_builddir) /src/extras/gudev \
-I$( top_srcdir) /src/extras/gudev \
2009-08-14 21:27:00 +04:00
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
-D_GUDEV_COMPILATION \
-DG_LOG_DOMAIN= \" GUdev\"
2011-05-18 20:29:24 +04:00
2012-01-06 01:41:45 +04:00
src_extras_gudev_libgudev_1_0_la_CFLAGS = \
2011-05-18 20:29:24 +04:00
-fvisibility= default \
$( GLIB_CFLAGS)
2012-01-06 01:41:45 +04:00
src_extras_gudev_libgudev_1_0_la_LIBADD = src/libudev.la $( GLIB_LIBS)
2009-08-14 21:27:00 +04:00
2012-01-06 01:41:45 +04:00
src_extras_gudev_libgudev_1_0_la_LDFLAGS = \
2009-08-14 21:27:00 +04:00
-version-info $( LIBGUDEV_CURRENT) :$( LIBGUDEV_REVISION) :$( LIBGUDEV_AGE) \
-export-dynamic -no-undefined \
-export-symbols-regex '^g_udev_.*'
2009-08-07 04:01:29 +04:00
EXTRA_DIST += \
2012-01-06 01:41:45 +04:00
src/extras/gudev/COPYING \
src/extras/gudev/gudevmarshal.list \
src/extras/gudev/gudevenumtypes.h.template \
src/extras/gudev/gudevenumtypes.c.template \
src/extras/gudev/gjs-example.js \
src/extras/gudev/seed-example-enum.js \
src/extras/gudev/seed-example.js
src/extras/gudev/gudevmarshal.h : src /extras /gudev /gudevmarshal .list
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) glib-genmarshal $< --prefix= g_udev_marshal --header > $@
2009-08-07 05:07:51 +04:00
2012-01-06 01:41:45 +04:00
src/extras/gudev/gudevmarshal.c : src /extras /gudev /gudevmarshal .list
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) echo "#include \"gudevmarshal.h\"" > $@ && \
glib-genmarshal $< --prefix= g_udev_marshal --body >> $@
2009-08-07 05:07:51 +04:00
2012-01-06 01:41:45 +04:00
src/extras/gudev/gudevenumtypes.h : src /extras /gudev /gudevenumtypes .h .template src /extras /gudev /gudevenums .h
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) glib-mkenums --template $^ > \
$@ .tmp && mv $@ .tmp $@
2009-08-07 05:07:51 +04:00
2012-01-06 01:41:45 +04:00
src/extras/gudev/gudevenumtypes.c : src /extras /gudev /gudevenumtypes .c .template src /extras /gudev /gudevenums .h
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) glib-mkenums --template $^ > \
$@ .tmp && mv $@ .tmp $@
2009-08-07 05:07:51 +04:00
2011-05-10 15:40:39 +04:00
i f E N A B L E _ I N T R O S P E C T I O N
2012-01-06 01:41:45 +04:00
src/extras/gudev/GUdev-1.0.gir : src /extras /gudev /libgudev -1.0.la $( G_IR_SCANNER )
2011-05-18 20:29:24 +04:00
$( AM_V_GEN) $( G_IR_SCANNER) -v \
--warn-all \
2009-08-14 21:27:00 +04:00
--namespace GUdev \
--nsversion= 1.0 \
--include= GObject-2.0 \
--library= gudev-1.0 \
2012-01-06 01:41:45 +04:00
--library-path= $( top_builddir) /src \
--library-path= $( top_builddir) /src/extras/gudev \
2009-08-14 21:27:00 +04:00
--output $@ \
--pkg= glib-2.0 \
--pkg= gobject-2.0 \
2012-01-12 11:42:22 +04:00
--pkg-export= gudev-1.0 \
--c-include= gudev/gudev.h \
2012-01-06 01:41:45 +04:00
-I$( top_srcdir) /src/extras \
-I$( top_builddir) /src/extras \
2009-08-14 21:27:00 +04:00
-D_GUDEV_COMPILATION \
2009-11-08 20:25:55 +03:00
-D_GUDEV_WORK_AROUND_DEV_T_BUG \
2012-01-06 01:41:45 +04:00
$( top_srcdir) /src/extras/gudev/gudev.h \
$( top_srcdir) /src/extras/gudev/gudevtypes.h \
$( top_srcdir) /src/extras/gudev/gudevenums.h \
$( or $( wildcard $( top_builddir) /src/extras/gudev/gudevenumtypes.h) ,$( top_srcdir) /src/extras/gudev/gudevenumtypes.h) \
$( top_srcdir) /src/extras/gudev/gudevclient.h \
$( top_srcdir) /src/extras/gudev/gudevdevice.h \
$( top_srcdir) /src/extras/gudev/gudevenumerator.h \
$( top_srcdir) /src/extras/gudev/gudevclient.c \
$( top_srcdir) /src/extras/gudev/gudevdevice.c \
$( top_srcdir) /src/extras/gudev/gudevenumerator.c
src/extras/gudev/GUdev-1.0.typelib : src /extras /gudev /GUdev -1.0.gir $( G_IR_COMPILER )
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) g-ir-compiler $< -o $@
girdir = $( GIRDIR)
2012-01-06 01:41:45 +04:00
gir_DATA = src/extras/gudev/GUdev-1.0.gir
2009-08-14 21:27:00 +04:00
typelibsdir = $( GIRTYPELIBDIR)
2012-01-06 01:41:45 +04:00
typelibs_DATA = src/extras/gudev/GUdev-1.0.typelib
2009-08-14 21:27:00 +04:00
CLEANFILES += $( gir_DATA) $( typelibs_DATA)
2011-05-10 15:40:39 +04:00
e n d i f # ENABLE_INTROSPECTION
2009-08-07 05:07:51 +04:00
2010-10-11 20:01:04 +04:00
# move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed
libgudev-install-move-hook :
if test " $( libdir) " != " $( rootlib_execdir) " ; then \
mkdir -p $( DESTDIR) $( rootlib_execdir) && \
so_img_name = $$ ( readlink $( DESTDIR) $( libdir) /libgudev-1.0.so) && \
so_img_rel_target_prefix = $$ ( echo $( libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g' ) && \
ln -sf $$ so_img_rel_target_prefix$( rootlib_execdir) /$$ so_img_name $( DESTDIR) $( libdir) /libgudev-1.0.so && \
mv $( DESTDIR) $( libdir) /libgudev-1.0.so.* $( DESTDIR) $( rootlib_execdir) ; \
fi
libgudev-uninstall-move-hook :
rm -f $( DESTDIR) $( rootlib_execdir) /libgudev-1.0.so*
INSTALL_EXEC_HOOKS += libgudev-install-move-hook
UNINSTALL_EXEC_HOOKS += libgudev-uninstall-move-hook
2011-04-29 16:27:11 +04:00
e n d i f
2010-10-11 20:01:04 +04:00
2011-04-29 16:27:11 +04:00
i f E N A B L E _ K E Y M A P
2009-08-14 21:27:00 +04:00
# ------------------------------------------------------------------------------
# keymap - map custom hardware's multimedia keys
# ------------------------------------------------------------------------------
2012-01-06 17:34:40 +04:00
src_extras_keymap_keymap_SOURCES = src/extras/keymap/keymap.c
src_extras_keymap_keymap_CPPFLAGS = $( AM_CPPFLAGS) -I src/extras/keymap
nodist_src_extras_keymap_keymap_SOURCES = \
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys-from-name.h \
src/extras/keymap/keys-to-name.h
2012-01-06 17:34:40 +04:00
BUILT_SOURCES += $( nodist_src_extras_keymap_keymap_SOURCES)
2009-08-14 21:27:00 +04:00
2012-01-06 17:34:40 +04:00
pkglibexec_PROGRAMS += src/extras/keymap/keymap
2012-01-06 01:41:45 +04:00
dist_doc_DATA = src/extras/keymap/README.keymap.txt
2011-12-21 18:27:27 +04:00
dist_udevrules_DATA += \
2012-01-06 01:41:45 +04:00
src/extras/keymap/95-keymap.rules \
src/extras/keymap/95-keyboard-force-release.rules
2011-12-21 18:27:27 +04:00
2012-01-06 01:41:45 +04:00
dist_udevhome_SCRIPTS += src/extras/keymap/findkeyboards
udevhome_SCRIPTS += src/extras/keymap/keyboard-force-release.sh
2011-12-21 18:27:27 +04:00
EXTRA_DIST += \
2012-01-06 01:41:45 +04:00
src/extras/keymap/check-keymaps.sh \
src/extras/keymap/keyboard-force-release.sh.in
2011-12-21 18:27:27 +04:00
2009-08-07 04:58:23 +04:00
CLEANFILES += \
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys.txt \
src/extras/keymap/keys-from-name.gperf \
src/extras/keymap/keyboard-force-release.sh
2009-08-07 04:58:23 +04:00
2012-01-05 22:13:41 +04:00
udevkeymapdir = $( libexecdir) /udev/keymaps
2009-08-07 04:58:23 +04:00
dist_udevkeymap_DATA = \
2012-01-06 01:41:45 +04:00
src/extras/keymap/keymaps/acer \
src/extras/keymap/keymaps/acer-aspire_5720 \
src/extras/keymap/keymaps/acer-aspire_8930 \
src/extras/keymap/keymaps/acer-aspire_5920g \
src/extras/keymap/keymaps/acer-aspire_6920 \
src/extras/keymap/keymaps/acer-travelmate_c300 \
src/extras/keymap/keymaps/asus \
src/extras/keymap/keymaps/compaq-e_evo \
src/extras/keymap/keymaps/dell \
src/extras/keymap/keymaps/dell-latitude-xt2 \
src/extras/keymap/keymaps/everex-xt5000 \
2012-02-06 12:00:59 +04:00
src/extras/keymap/keymaps/fujitsu-amilo_li_2732 \
2012-01-06 01:41:45 +04:00
src/extras/keymap/keymaps/fujitsu-amilo_pa_2548 \
src/extras/keymap/keymaps/fujitsu-amilo_pro_edition_v3505 \
src/extras/keymap/keymaps/fujitsu-amilo_pro_v3205 \
src/extras/keymap/keymaps/fujitsu-amilo_si_1520 \
src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v5 \
src/extras/keymap/keymaps/fujitsu-esprimo_mobile_v6 \
src/extras/keymap/keymaps/genius-slimstar-320 \
src/extras/keymap/keymaps/hewlett-packard \
src/extras/keymap/keymaps/hewlett-packard-2510p_2530p \
src/extras/keymap/keymaps/hewlett-packard-compaq_elitebook \
src/extras/keymap/keymaps/hewlett-packard-pavilion \
src/extras/keymap/keymaps/hewlett-packard-presario-2100 \
src/extras/keymap/keymaps/hewlett-packard-tablet \
src/extras/keymap/keymaps/hewlett-packard-tx2 \
src/extras/keymap/keymaps/ibm-thinkpad-usb-keyboard-trackpoint \
src/extras/keymap/keymaps/inventec-symphony_6.0_7.0 \
src/extras/keymap/keymaps/lenovo-3000 \
src/extras/keymap/keymaps/lenovo-ideapad \
src/extras/keymap/keymaps/lenovo-thinkpad-usb-keyboard-trackpoint \
src/extras/keymap/keymaps/lenovo-thinkpad_x6_tablet \
src/extras/keymap/keymaps/lenovo-thinkpad_x200_tablet \
src/extras/keymap/keymaps/lg-x110 \
src/extras/keymap/keymaps/logitech-wave \
src/extras/keymap/keymaps/logitech-wave-cordless \
src/extras/keymap/keymaps/logitech-wave-pro-cordless \
src/extras/keymap/keymaps/maxdata-pro_7000 \
src/extras/keymap/keymaps/medion-fid2060 \
src/extras/keymap/keymaps/medionnb-a555 \
src/extras/keymap/keymaps/micro-star \
src/extras/keymap/keymaps/module-asus-w3j \
src/extras/keymap/keymaps/module-ibm \
src/extras/keymap/keymaps/module-lenovo \
src/extras/keymap/keymaps/module-sony \
src/extras/keymap/keymaps/module-sony-old \
src/extras/keymap/keymaps/module-sony-vgn \
src/extras/keymap/keymaps/olpc-xo \
src/extras/keymap/keymaps/onkyo \
src/extras/keymap/keymaps/oqo-model2 \
src/extras/keymap/keymaps/samsung-other \
src/extras/keymap/keymaps/samsung-sq1us \
src/extras/keymap/keymaps/samsung-sx20s \
src/extras/keymap/keymaps/toshiba-satellite_a100 \
src/extras/keymap/keymaps/toshiba-satellite_a110 \
src/extras/keymap/keymaps/toshiba-satellite_m30x \
src/extras/keymap/keymaps/zepto-znote
2009-08-07 04:01:29 +04:00
2012-01-05 22:13:41 +04:00
udevkeymapforcereldir = $( libexecdir) /udev/keymaps/force-release
2009-12-14 01:54:05 +03:00
dist_udevkeymapforcerel_DATA = \
2012-01-06 01:41:45 +04:00
src/extras/keymap/force-release-maps/dell-touchpad \
src/extras/keymap/force-release-maps/hp-other \
src/extras/keymap/force-release-maps/samsung-other \
src/extras/keymap/force-release-maps/common-volume-keys
2009-12-14 01:54:05 +03:00
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys.txt : $( INCLUDE_PREFIX ) /linux /input .h
$( AM_V_at) mkdir -p src/extras/keymap
2009-10-30 11:38:21 +03:00
$( AM_V_GEN) $( AWK) '/^#define.*KEY_[^ ]+[ \t]+[0-9]/ { if ($$2 != "KEY_MAX") { print $$2 } }' < $< | sed 's/^KEY_COFFEE$$/KEY_SCREENLOCK/' > $@
2009-08-07 04:01:29 +04:00
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys-from-name.gperf : src /extras /keymap /keys .txt
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) $( AWK) 'BEGIN{ print "struct key { const char* name; unsigned short id; };"; print "%null-strings"; print "%%";} { print $$1 ", " $$1 }' < $< > $@
2009-08-07 05:16:32 +04:00
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys-from-name.h : src /extras /keymap /keys -from -name .gperf Makefile
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) $( GPERF) -L ANSI-C -t --ignore-case -N lookup_key -H hash_key_name -p -C < $< > $@
2009-08-07 05:16:32 +04:00
2012-01-06 01:41:45 +04:00
src/extras/keymap/keys-to-name.h : src /extras /keymap /keys .txt Makefile
2009-08-14 21:27:00 +04:00
$( AM_V_GEN) $( AWK) 'BEGIN{ print "const char* const key_names[KEY_CNT] = { "} { print "[" $$1 "] = \"" $$1 "\"," } END{print "};"}' < $< > $@
2009-08-07 05:16:32 +04:00
2012-01-06 01:41:45 +04:00
keymaps-distcheck-hook : src /extras /keymap /keys .txt
$( top_srcdir) /src/extras/keymap/check-keymaps.sh $( top_srcdir) $^
2010-09-03 15:30:57 +04:00
DISTCHECK_HOOKS += keymaps-distcheck-hook
2011-04-29 16:27:11 +04:00
e n d i f
2011-07-19 23:17:05 +04:00
i f E N A B L E _ M T D _ P R O B E
# ------------------------------------------------------------------------------
# mtd_probe - autoloads FTL module for mtd devices
# ------------------------------------------------------------------------------
2012-01-06 17:34:40 +04:00
src_extras_mtd_probe_mtd_probe_SOURCES = \
2012-01-06 01:41:45 +04:00
src/extras/mtd_probe/mtd_probe.c \
src/extras/mtd_probe/mtd_probe.h \
src/extras/mtd_probe/probe_smartmedia.c
2012-01-06 17:34:40 +04:00
src_extras_mtd_probe_mtd_probe_CPPFLAGS = $( AM_CPPFLAGS)
2012-01-06 01:41:45 +04:00
dist_udevrules_DATA += src/extras/mtd_probe/75-probe_mtd.rules
2012-01-06 17:34:40 +04:00
pkglibexec_PROGRAMS += src/extras/mtd_probe/mtd_probe
2011-07-19 23:17:05 +04:00
e n d i f
i f E N A B L E _ R U L E _ G E N E R A T O R
# ------------------------------------------------------------------------------
# rule_generator - persistent network and optical device rule generator
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
dist_udevhome_SCRIPTS += \
src/extras/rule_generator/write_cd_rules \
src/extras/rule_generator/write_net_rules
2011-07-19 23:17:05 +04:00
2012-01-12 08:28:43 +04:00
dist_udevhome_DATA += \
src/extras/rule_generator/rule_generator.functions
2012-01-12 08:10:34 +04:00
dist_udevrules_DATA += \
2012-01-06 01:41:45 +04:00
src/extras/rule_generator/75-cd-aliases-generator.rules \
src/extras/rule_generator/75-persistent-net-generator.rules
2011-07-19 23:17:05 +04:00
e n d i f
i f E N A B L E _ U D E V _ A C L
# ------------------------------------------------------------------------------
# udev_acl - apply ACLs for users with local forground sessions
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_udev_acl_SOURCES = src/extras/udev-acl/udev-acl.c
src_udev_acl_CPPFLAGS = $( AM_CPPFLAGS) $( GLIB_CFLAGS)
src_udev_acl_LDADD = src/libudev-private.la -lacl $( GLIB_LIBS)
dist_udevrules_DATA += src/extras/udev-acl/70-udev-acl.rules
pkglibexec_PROGRAMS += src/udev-acl
2011-07-19 23:17:05 +04:00
udevacl-install-hook :
mkdir -p $( DESTDIR) $( prefix) /lib/ConsoleKit/run-seat.d
2012-01-05 22:13:41 +04:00
ln -sf $( libexecdir) /udev/udev-acl $( DESTDIR) $( prefix) /lib/ConsoleKit/run-seat.d/udev-acl.ck
2011-07-19 23:17:05 +04:00
INSTALL_EXEC_HOOKS += udevacl-install-hook
e n d i f
2011-04-29 16:27:11 +04:00
i f E N A B L E _ F L O P P Y
# ------------------------------------------------------------------------------
# create_floppy_devices - historical floppy kernel device nodes (/dev/fd0h1440, ...)
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_create_floppy_devices_SOURCES = src/extras/floppy/create_floppy_devices.c
src_create_floppy_devices_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/create_floppy_devices
dist_udevrules_DATA += src/extras/floppy/60-floppy.rules
2011-04-29 16:27:11 +04:00
e n d i f
i f E N A B L E _ E D D
# ------------------------------------------------------------------------------
# edd_id - create /dev/disk/by-id/edd-* links for BIOS EDD data
# ------------------------------------------------------------------------------
2012-01-06 01:41:45 +04:00
src_edd_id_SOURCES = src/extras/edd_id/edd_id.c
src_edd_id_LDADD = src/libudev-private.la
pkglibexec_PROGRAMS += src/edd_id
dist_udevrules_DATA += src/extras/edd_id/61-persistent-storage-edd.rules
2011-04-29 16:27:11 +04:00
e n d i f
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2009-08-14 21:27:00 +04:00
# install, uninstall, clean hooks
2009-08-07 04:01:29 +04:00
# ------------------------------------------------------------------------------
2009-08-14 21:27:00 +04:00
clean-local :
rm -rf udev-test-install
2009-08-07 04:38:02 +04:00
2009-08-14 21:27:00 +04:00
distclean-local :
rm -rf autom4te.cache
2009-08-07 04:38:02 +04:00
2011-12-21 18:27:27 +04:00
EXTRA_DIST += \
$( TESTS) \
test/rule-syntax-check.py
2009-08-14 21:27:00 +04:00
CLEANFILES += \
$( BUILT_SOURCES)
2009-08-07 22:05:55 +04:00
2009-08-14 21:27:00 +04:00
install-exec-hook : $( INSTALL_EXEC_HOOKS )
2009-08-07 04:01:29 +04:00
2010-09-03 15:30:57 +04:00
install-data-hook : $( INSTALL_DATA_HOOKS )
2009-08-14 21:27:00 +04:00
uninstall-hook : $( UNINSTALL_EXEC_HOOKS )
2009-08-07 04:58:23 +04:00
2009-08-14 21:27:00 +04:00
distcheck-hook : $( DISTCHECK_HOOKS )
2009-08-07 22:05:55 +04:00
2012-01-06 17:34:40 +04:00
distclean-local : $( DISTCLEAN_LOCAL_HOOKS )
2009-08-07 04:58:23 +04:00
# ------------------------------------------------------------------------------
2009-08-14 21:27:00 +04:00
# custom release helpers
2009-08-07 04:58:23 +04:00
# ------------------------------------------------------------------------------
2009-08-14 21:27:00 +04:00
PREVIOUS_VERSION = ` expr $( VERSION) - 1`
changelog :
@ head -1 ChangeLog | grep -q " to v $( PREVIOUS_VERSION) "
@ mv ChangeLog ChangeLog.tmp
@ echo " Summary of changes from v $( PREVIOUS_VERSION) to v $( VERSION) " >> ChangeLog
@ echo "============================================" >> ChangeLog
@ echo >> ChangeLog
@ git log --pretty= short $( PREVIOUS_VERSION) ..HEAD | git shortlog >> ChangeLog
@ echo >> ChangeLog
@ cat ChangeLog
@ cat ChangeLog.tmp >> ChangeLog
@ rm ChangeLog.tmp
2009-08-07 04:58:23 +04:00
2009-08-14 21:27:00 +04:00
test-install :
rm -rf $( PWD) /udev-test-install/
make DESTDIR = $( PWD) /udev-test-install install
tree $( PWD) /udev-test-install/
2009-08-07 05:16:32 +04:00
2009-08-14 21:27:00 +04:00
git-release :
head -1 ChangeLog | grep -q " to v $( VERSION) "
head -1 NEWS | grep -q " udev $( VERSION) "
git commit -a -m " release $( VERSION) "
2011-10-20 02:01:02 +04:00
git tag -m " udev $( VERSION) " -s $( VERSION)
2011-06-03 16:38:43 +04:00
git gc --prune= 0
git-sync :
git push
2012-01-23 01:44:13 +04:00
git push --tags
2009-08-07 05:16:32 +04:00
2011-05-30 04:06:12 +04:00
tar-sync :
2012-01-25 03:11:21 +04:00
rm -f udev-$( VERSION) .tar.sign
xz -d -c udev-$( VERSION) .tar.xz | gpg --armor --detach-sign --output udev-$( VERSION) .tar.sign
2012-01-18 17:47:07 +04:00
kup put udev-$( VERSION) .tar.xz udev-$( VERSION) .tar.sign /pub/linux/utils/kernel/hotplug/
2011-05-30 04:06:12 +04:00
2009-08-14 21:27:00 +04:00
doc-sync :
2012-01-12 19:30:12 +04:00
for i in src/*.html; do rm -f $$ i.sign; gpg --armor --detach-sign --output= $$ i.sign $$ i; done
for i in src/*.html; do echo $$ i; kup put $$ i $$ i.sign /pub/linux/utils/kernel/hotplug/udev/; done
for i in src/docs/html/*.{ html,css,png} ; do rm -f $$ i.sign; gpg --armor --detach-sign --output= $$ i.sign $$ i; done
for i in src/docs/html/*.{ html,css,png} ; do echo $$ i; kup put $$ i $$ i.sign /pub/linux/utils/kernel/hotplug/libudev/; done
for i in src/extras/gudev/docs/html/*.{ html,css,png} ; do rm -f $$ i.sign; gpg --armor --detach-sign --output= $$ i.sign $$ i; done
for i in src/extras/gudev/docs/html/*.{ html,css,png} ; do echo $$ i; kup put $$ i $$ i.sign /pub/linux/utils/kernel/hotplug/gudev/; done