summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 31d97d08d5284a59069e3a22f1c65f32732436f0 (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 = pixmaps src plugins po themes

ACLOCAL_AMFLAGS = -I m4