Sync usage with man page.
[netbsd-mini2440.git] / crypto / external / bsd / netpgp / dist / tests / Makefile.am
blob688b4016771bd28117e04440f2daeda07e7d5a5c
1 ## $NetBSD: Makefile.am,v 1.2 2009/05/26 05:42:25 lukem Exp $
3 TESTSUITE       = testsuite
4 AUTOTEST        = $(AUTOM4TE) --language=autotest
6 EXTRA_DIST      = \
7         package.m4 \
8         testsuite
10 TESTSUITE_DEPS  = \
11         init.at \
12         cat.at \
13         crypt.at \
14         detached.at \
15         verify.at \
16         package.m4 \
17         testsuite.at
19 DISTCLEANFILES  = \
20         atconfig \
21         package.m4 \
22         testsuite
24 package.m4: $(top_srcdir)/configure.ac
25         ( \
26         echo '# Signature of the current package.'; \
27         echo 'm4_define([AT_PACKAGE_NAME],      [@PACKAGE_NAME@])'; \
28         echo 'm4_define([AT_PACKAGE_TARNAME],   [@PACKAGE_TARNAME@])'; \
29         echo 'm4_define([AT_PACKAGE_VERSION],   [@PACKAGE_VERSION@])'; \
30         echo 'm4_define([AT_PACKAGE_STRING],    [@PACKAGE_STRING@])'; \
31         echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
32         ) > $@
34 clean-local:
35         test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
37 check-local: atconfig atlocal $(TESTSUITE)
38         $(SHELL) '$(TESTSUITE)'
40 $(TESTSUITE): $(TESTSUITE_DEPS)
41         @echo "Generating $@"
42         $(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
43         mv $@.tmp $@