summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 80b0eae4d1dcb8fb57878b393b8c04c2a9fa7194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src include tools udev

EXTRA_DIST = \
	README.md \
	git-version-gen

dist-hook:
	@if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi
	echo $(VERSION) > $(distdir)/.tarball-version

DISTCHECK_CONFIGURE_FLAGS = \
	--with-udevrulesdir=$$dc_install_base/$(udevrulesdir)