1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 06:25:25 +03:00
systemd-stable/Makefile.am
Kay Sievers 4dea370d49 build: include Makefile.am.inc in all Makefile.am
Many thanks to Chris Spiegel for finding the still current vol_id
non-large-file-access bug, because of not including config.h.
2008-10-01 18:02:39 +02:00

54 lines
1.3 KiB
Makefile

include $(top_srcdir)/Makefile.am.inc
SUBDIRS = \
udev \
rules \
extras
udevconfdir = $(sysconfdir)/udev
udevconf_DATA = \
udev.conf
EXTRA_DIST = \
udev.conf \
docs \
autogen.sh
PREVIOUS_VERSION = `expr $(VERSION) - 1`
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
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