Just create the tests/data directory if needed before running
the packer to create the dictionary.
# The dictionary is used by the tests and needs to be built first.
tests/data/dictionary.pwd: cracklib/packer $(srcdir)/tests/data/wordlist
+ mkdir -p tests/data
cracklib/packer tests/data/dictionary < $(srcdir)/tests/data/wordlist
check-local: $(check_PROGRAMS) tests/data/dictionary.pwd
RRA_FUNC_SNPRINTF
AC_REPLACE_FUNCS([asprintf strlcat strlcpy])
-dnl Create the tests/data directory for builds outside the source directory.
-AC_CONFIG_COMMANDS([tests/data/.placeholder], [touch tests/data/.placeholder])
-
AC_CONFIG_FILES([Makefile])
AC_CONFIG_HEADER([config.h])
AC_OUTPUT