summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: b00e2b19dc8f31e5053bd82b465948957633fe45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
kbdir = $(includedir)/X11/extensions
kb_HEADERS = \
	XKBgeom.h \
	XKB.h \
	XKBproto.h \
	XKBsrv.h \
	XKBstr.h

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

EXTRA_DIST = autogen.sh kbproto.pc.in

EXTRA_DIST += ChangeLog
MAINTAINERCLEANFILES = ChangeLog

.PHONY: 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