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

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

EXTRA_DIST = xxf86dga.pc.in autogen.sh

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