2008-07-30 03:45:23 +04:00
SUBDIRS = \
udev \
rules \
extras
udevconfdir = $( sysconfdir) /udev
udevconf_DATA = \
udev.conf
EXTRA_DIST = \
udev.conf \
docs \
autogen.sh
2008-08-13 02:01:46 +04:00
PREVIOUS_VERSION = ` expr $( VERSION) - 1`
2008-07-30 03:45:23 +04:00
distclean-local :
rm -f *~
rm -rf autom4te.cache
rm -f depcomp aclocal.m4 config.h.in configure install-sh
rm -f Makefile.in missing config.guess config.sub ltmain.sh
rm -rf udev-test-install
rm -f udev-$( VERSION) .tar.gz udev-$( VERSION) .tar.bz2
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-12 02:58:40 +04:00
git gc --prune