summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: a3890f709e82a438d65a98d17f781e7566fb4b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Daniel Stone disowns all copyright on this file; no warranty is given as to its
# suitability or otherwise.

SUBDIRS = src sxpm cxpm

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xpm.pc
EXTRA_DIST = \
	xpm.pc.in \
	xpm.PS.gz \
	CHANGES \
	COPYRIGHT \
	FAQ.html \
	FILES \
	README.AMIGA \
	README.html \
	README.MSW

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