summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 34a6b8807fa2d85db22f90c6e19555ceef834608 (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=`LANG=C svn info | grep 'Revision:' | cut -d ' ' -f 2 | 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