Updated Spanish translation
[anjuta.git] / plugins / am-project / tests / include.at
blobd986ccf7cbb60b193264b47f734b69a3d20de0ed
1 AT_SETUP([Include in Makefile.am and configure.ac])
4 m4_pattern_allow([m4_include])
6 AS_MKDIR_P([include_ac])
7 AT_DATA([include_ac/configure.ac],
8 [[AC_CONFIG_FILES(m4_include([include.m4]))
9 ]])
10 AT_DATA([include_ac/include.m4],
11 [[Makefile
12 ]])
13 AT_DATA([include_ac/Makefile.am],
15 bin_PROGRAMS = target1
16 ]])
17 AT_DATA([expect],
18 [[ROOT (): include_ac
19     TARGET (): target1
20         PROPERTY (Installation directory): bindir
21     SOURCE (): configure.ac
22     SOURCE (): include.m4
23     SOURCE (): Makefile.am
24 ]])
25 AT_PARSER_CHECK([load include_ac \
26                  list])
27 AT_CHECK([diff -b output expect])
31 AS_MKDIR_P([include])
32 AT_DATA([include/configure.ac],
33 [[AC_CONFIG_FILES(GNUmakefile)
34 ]])
35 AT_DATA([include/GNUmakefile.am],
37 include module/target.am
38 ]])
39 AS_MKDIR_P([include/module])
40 AT_DATA([include/module/target.am],
42 bin_PROGRAMS = target1
43 ]])
44 AT_DATA([expect],
45 [[ROOT (): include
46     TARGET (): target1
47         PROPERTY (Installation directory): bindir
48     SOURCE (): configure.ac
49     SOURCE (): GNUmakefile.am
50     SOURCE (): module/target.am
51 ]])
52 AT_PARSER_CHECK([load include \
53                  list])
54 AT_CHECK([diff -b output expect])
58 AT_CLEANUP