]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - autogen
Update README with more details about new checking rules
[kerberos/krb5-strength.git] / autogen
diff --git a/autogen b/autogen
index 5863dadf20393427f6fbc3a0aaf58d36ef02a877..d30d3de139058e79b8bdaba17bc997570af36c0e 100755 (executable)
--- a/autogen
+++ b/autogen
@@ -2,10 +2,23 @@
 #
 # Run this shell script to bootstrap as necessary after a fresh checkout.
 
+set -e
+
+# Regenerate all the autotools files.
 autoreconf -i --force
-rm -rf autom4te.cache
 
 # Generate manual pages.
 version=`grep '^krb5-strength' NEWS | head -1 | cut -d' ' -f2`
 pod2man --release="$version" --center='krb5-strength' \
-    external/heimdal-strength.pod > external/heimdal-strength.1
+    tools/cdbmake-wordlist > tools/cdbmake-wordlist.1
+pod2man --release="$version" --center='krb5-strength' \
+    tools/heimdal-strength.pod > tools/heimdal-strength.1
+
+# Generate the C version of our password test data.
+for data in tests/data/passwords/*.json ; do
+    tests/data/passwords/make-c-data "$data" \
+        > $(echo "$data" | sed 's/\.json$/.c/')
+done
+
+# Generate the CDB database from the test wordlist for plugin tests.
+tools/cdbmake-wordlist tests/data/wordlist