Debian Codegraph @

tests/Makefile.am

raw
1 ## -*- mode: Makefile-Automake -*-
2 ##
3 ## Copyright (c) 2012, 2015 The University of Utah
4 ## All rights reserved.
5 ##
6 ## This file is distributed under the University of Illinois Open Source
7 ## License. See the file COPYING for details.
8
9 ###############################################################################
10
11 dist_noinst_SCRIPTS = \
12 run_tests \
13 test0.bat \
14 test0.sh \
15 test1.sh \
16 test2.sh \
17 test3.sh \
18 test4.sh \
19 test5.sh \
20 test6.sh \
21 test7.sh
22
23 dist_noinst_DATA = \
24 file1.c \
25 file2.c \
26 file3.c
27
28 ###
29
30 # The following rules are for the convenience of people who want to run tests
31 # in a separate build tree.
32 #
33 all-local:
34 for f in $(dist_noinst_SCRIPTS) $(dist_noinst_DATA); do \
35 test -e "$$f" || ln -s "$(srcdir)/$$f" "$$f"; \
36 done
37
38 clean-local:
39 for f in $(dist_noinst_SCRIPTS) $(dist_noinst_DATA); do \
40 test \! -L "$$f" || rm -f "$$f"; \
41 done
42
43 ###############################################################################
44
45 ## End of file.