aboutsummaryrefslogtreecommitdiff
blob: 0d2912a7d9641fe0eb725dba03a6bab59bc29857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
AUTOMAKE_OPTIONS = dist-lzma no-dist-gzip

SUBDIRS = \
	scripts    \
	etc        \
	data       \
	libsbutil  \
	libsandbox \
	src        \
	tests

libsandbox: libsbutil
src: libsbutil
tests: src

EXTRA_DIST = headers.h localdecls.h ChangeLog.0

dist-hook:
	set -e ; \
	if [ -d "$(top_srcdir)/.svn" -a -x "$(top_srcdir)/scripts/svn2cl" ] ; then \
		PATH="$${PATH}:$(top_srcdir)/scripts" svn2cl ; \
		cp ChangeLog $(distdir)	; \
	elif [ ! -e "$(distdir)/ChangeLog" ] ; then \
		if [ -e "$(top_srcdir)/ChangeLog" ] ; then \
			cp "$(top_srcdir)/ChangeLog" "$(distdir)/ChangeLog" ; \
		else \
			touch "$(distdir)/ChangeLog" ; \
		fi ; \
	fi