Changeset 2438
- Timestamp:
- Mar 13, 2011, 12:45:59 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r2431 r2438 268 268 269 269 270 AC_CONFIG_FILES([test/create_yathello.sh], [chmod +x test/create_yathello.sh])271 270 AC_CONFIG_FILES([build_support/gen_yat_pc.sh], 272 271 [chmod +x build_support/gen_yat_pc.sh]) -
trunk/test/Makefile.am
r2421 r2438 40 40 41 41 FORCE: 42 43 yathello: create_yathello.sh $(top_srcdir)/m4/yat.m444 ./create_yathello.sh45 46 # testing autoconf macro YAT_CHECK_YAT on an installed yat (the bindir47 # argument requires some care).48 yat_check_yat_test: yathello FORCE49 cd yathello && autoreconf -sivf && \50 ./configure --with-yat=$(bindir) && $(MAKE) check51 42 52 43 EXTRA_PROGRAMS = alignment.test averager.test \ … … 127 118 ## care of whether doxygen will run or not. 128 119 documentation_test.log: FORCE 120 121 122 # yat-hello is an example of a tiny package that uses yat 123 noinst_DATA = $(srcdir)/yat-hello-1.0.tar.gz 124 125 # Directory yat-hello contains what a developer would check out 126 # from a VCS, i.e., no files generated by autotools. 127 yat_hello_sources = 128 yat_hello_sources += yat-hello/configure.ac 129 yat_hello_sources += yat-hello/Makefile.am 130 yat_hello_sources += yat-hello/hello.cc 131 132 EXTRA_DIST += $(yat_hello_sources) 133 134 yat_hello_tmp_files = 135 yat_hello_tmp_files += Makefile.in 136 yat_hello_tmp_files += autom4te.cache 137 yat_hello_tmp_files += aclocal.m4 138 yat_hello_tmp_files += config.guess 139 yat_hello_tmp_files += config.sub 140 yat_hello_tmp_files += configure 141 yat_hello_tmp_files += depcomp 142 yat_hello_tmp_files += install-sh 143 yat_hello_tmp_files += ltmain.sh 144 yat_hello_tmp_files += m4 145 yat_hello_tmp_files += missing 146 147 148 149 yat_hello_deps = $(yat_hello_sources) 150 yat_hello_deps += $(top_srcdir)/m4/yat.m4 151 ## We depend on version.m4 so tarball is updated at every release (at least) 152 yat_hello_deps += $(top_srcdir)/m4/version.m4 153 154 $(srcdir)/yat-hello-1.0.tar.gz: $(yat_hello_deps) 155 cd $(srcdir)/yat-hello \ 156 && $(MKDIR_P) m4 \ 157 && $(ACLOCAL) -I m4 --install -I $(abs_top_srcdir)/m4 \ 158 && autoreconf -ivf \ 159 && ./configure --without-yat \ 160 && $(MAKE) $(AM_MAKEFLAGS) dist \ 161 && $(MAKE) $(AM_MAKEFLAGS) distclean \ 162 && mv yat-hello-1.0.tar.gz .. \ 163 && rm -rf $(yat_hello_tmp_files) 164 165 installcheck-local: yat-hello-check 166 167 yat-hello-check: $(srcdir)/yat-hello-1.0.tar.gz 168 GZIP=$(GZIP_ENV) gzip -dc $< | $(am__untar) \ 169 && cd yat-hello-1.0 \ 170 && ./configure --with-yat=$(bindir) \ 171 && $(MAKE) $(AM_MAKEFLAGS) all \ 172 && ./hello \ 173 && cd .. \ 174 && rm -rf yat-hello-1.0
Note: See TracChangeset
for help on using the changeset viewer.