123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << 'END'
- AC_OUTPUT
- END
- cat > Makefile.am << 'END'
- t1 = foo1 foo2
- t2 = bar.x
- t3 = baz-y
- EXTRA_DIST = $(t1:=.c) $(t2:.x=.f) $(t3:-y=ar)
- bazar bar.f:
- : > $@
- .PHONY: test
- test: distdir
- ls -l $(distdir)
- test -f $(distdir)/foo1.c
- test -f $(distdir)/foo2.c
- test -f $(distdir)/bar.f
- test -f $(distdir)/bazar
- END
- : > foo1.c
- : > foo2.c
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- ./configure
- $MAKE test
- :
|