summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 033527f082a68c505cd30d17dc4f781f8bd033ef (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

ACLOCAL_AMFLAGS = -I m4