summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 2d72364b8462d9d10e74bf9f0b9b3b82c8089b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUBDIRS = src

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ice.pc

EXTRA_DIST=ice.pc.in ChangeLog
CLEANFILES = ChangeLog

ChangeLog:
	(GIT_DIR=$(top_srcdir)/.git git-log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)

dist-hook: ChangeLog

if LINT
lint:
	(cd src && $(MAKE) $(MFLAGS) lint)
endif LINT