summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: ae0e85367974841996a930141bf1994ca59b8c6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## Process this file with automake to produce Makefile.in.

AUTOMAKE_OPTIONS = 1.4 foreign

EXTRA_DIST =
SUBDIRS = hello-test

check-recursive: ./usr/ ./bin ./var

./usr ./bin ./var: ../rpm
	${MAKE} -C .. DESTDIR=`pwd` install
	cp rpmrc macros ./$(pkglibdir)
	rm -f ./@GZIPBIN@
	if [ ! -d ./`dirname @GZIPBIN@` ] ; then mkdir -p ./`dirname @GZIPBIN@` ; fi
	ln -s @GZIPBIN@ ./@GZIPBIN@
	rm -f ./@BZIP2BIN@
	if [ ! -d ./`dirname @BZIP2BIN@` ] ; then mkdir -p ./`dirname @BZIP2BIN@` ; fi
	ln -s @BZIP2BIN@ ./@BZIP2BIN@

clean-local:
	rm -rf ./usr ./bin ./var