summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: de72d7552979a729cfa8ce72cc5a4cd3e0adcb31 (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  config.rpath  config.rpath  config.rpath  ChangeLog

SUBDIRS = pixmaps src plugins

ACLOCAL_AMFLAGS = -I m4