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

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

indent:
	indent -kr -ut -ts4 -l120 src/*.c src/*.h