create package-version.txt in each dir during bootstrap
[citadel.git] / textclient / bootstrap
index 9f4f846431a5cc1e750ff654927644968663a49d..d4c23fcf2749d8804e3b0563a4eb55fd3b2f9448 100755 (executable)
@@ -30,3 +30,5 @@ echo
 echo Also note that autoconf and automake should be configured
 echo with the same prefix.
 echo
+
+grep '^#define CLIENT_VERSION' src/include/citadel_ipc.h | sed 's/[^0-9]*//g' >package-version.txt