2006-11-25 09:46:32 -07:00
|
|
|
SUBDIRS = man src
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = xext.pc
|
|
|
|
|
2007-03-03 03:39:18 -07:00
|
|
|
EXTRA_DIST=xext.pc.in ChangeLog autogen.sh
|
|
|
|
MAINTAINERCLEANFILES=ChangeLog
|
|
|
|
|
2008-05-24 03:29:33 -06:00
|
|
|
.PHONY: ChangeLog
|
|
|
|
|
2007-03-03 03:39:18 -07:00
|
|
|
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
|
|
|
|
|
2008-05-24 03:29:33 -06:00
|
|
|
if LINT
|
|
|
|
# Check source code with tools like lint & sparse
|
|
|
|
lint:
|
|
|
|
(cd src && $(MAKE) $(MFLAGS) lint)
|
|
|
|
endif LINT
|