mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
65 lines
1.5 KiB
Makefile
65 lines
1.5 KiB
Makefile
include $(top_srcdir)/Makefile.am.inc
|
|
|
|
SUBDIRS = \
|
|
docs \
|
|
libudev \
|
|
udev \
|
|
rules \
|
|
extras
|
|
|
|
udevconfdir = $(sysconfdir)/udev
|
|
dist_udevconf_DATA = \
|
|
udev.conf
|
|
|
|
EXTRA_DIST = \
|
|
autogen.sh
|
|
|
|
CLEANFILES = \
|
|
udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS = \
|
|
--enable-gtk-doc \
|
|
--enable-extras
|
|
|
|
clean-local:
|
|
rm -rf udev-test-install
|
|
|
|
distclean-local:
|
|
rm -rf autom4te.cache
|
|
|
|
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
|
|
|
|
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/
|
|
|
|
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)
|
|
git gc
|
|
git prune
|
|
|
|
doc-sync:
|
|
rsync -av --delete libudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/libudev/
|
|
rsync -av --delete extras/gudev/docs/html/ master.kernel.org:/pub/linux/utils/kernel/hotplug/gudev/
|