2008-10-01 20:02:39 +04:00
i n c l u d e $( top_srcdir ) / M a k e f i l e . a m . i n c
2008-07-30 03:45:23 +04:00
SUBDIRS = \
2009-06-08 23:36:06 +04:00
libudev \
2008-07-30 03:45:23 +04:00
udev \
rules \
extras
udevconfdir = $( sysconfdir) /udev
udevconf_DATA = \
udev.conf
EXTRA_DIST = \
udev.conf \
docs \
autogen.sh
2008-12-06 06:03:08 +03:00
CLEANFILES = \
udev-$( VERSION) .tar.gz udev-$( VERSION) .tar.bz2
2009-02-26 16:11:43 +03:00
ACLOCAL_AMFLAGS = -I m4
2009-06-15 15:22:21 +04:00
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
2008-12-06 06:03:08 +03:00
clean-local :
rm -rf udev-test-install
2008-08-13 02:01:46 +04:00
2008-07-30 03:45:23 +04:00
distclean-local :
rm -rf autom4te.cache
2008-12-06 06:03:08 +03:00
PREVIOUS_VERSION = ` expr $( VERSION) - 1`
2008-07-30 03:45:23 +04:00
2008-07-30 15:38:53 +04:00
changelog :
2008-08-13 13:41:25 +04:00
@ head -1 ChangeLog | grep -q " to v $( PREVIOUS_VERSION) "
2008-07-30 15:38:53 +04:00
@ mv ChangeLog ChangeLog.tmp
2008-08-13 02:01:46 +04:00
@ echo " Summary of changes from v $( PREVIOUS_VERSION) to v $( VERSION) " >> ChangeLog
2008-07-30 15:38:53 +04:00
@ echo "============================================" >> ChangeLog
@ echo >> ChangeLog
2008-08-13 02:01:46 +04:00
@ git log --pretty= short $( PREVIOUS_VERSION) ..HEAD | git shortlog >> ChangeLog
2008-07-30 15:38:53 +04:00
@ echo >> ChangeLog
@ cat ChangeLog
@ cat ChangeLog.tmp >> ChangeLog
@ rm ChangeLog.tmp
2008-07-30 03:45:23 +04:00
test-run :
cd test && ./udev-test.pl
test-install :
rm -rf $( PWD) /udev-test-install/
make DESTDIR = $( PWD) /udev-test-install install
tree $( PWD) /udev-test-install/
2008-08-02 12:51:23 +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) "
cat .git/refs/heads/master > .git/refs/tags/$( VERSION)
2008-09-29 07:18:23 +04:00
git gc
git prune
2009-06-15 15:22:21 +04:00
doc-sync :
rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/