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

BUILT_SOURCES = revision.h

.svn:
	@[ -d $@ ] || touch $@

revision.h: .svn
	@nb=`svn log ChangeLog -l 1 -q | grep r | cut -d ' ' -f 1 | tr -d 'r'` ; \
	cat $@.in | sed "s/#define REVISION .*$$/#define REVISION $$nb/" > $@ ; \
	[ -f $< ] && rm $< || true

EXTRA_DIST = config.rpath  ChangeLog

SUBDIRS = tools pixmaps src plugins po themes

ACLOCAL_AMFLAGS = -I m4