works now --HG-- branch : HEAD
diff --git a/lib/Makefile.am b/lib/Makefile.am index 55a6e03..f616282 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am
@@ -8,5 +8,5 @@ BUILT_SOURCES=zip_err_str.c -zip_err_str.c: zip.h +zip_err_str.c: zip.h make_zip_err_str.sh make_zip_err_str.sh zip.h zip_err_str.c \ No newline at end of file
diff --git a/lib/make_zip_err_str.sh b/lib/make_zip_err_str.sh index 98cf429..5427a65 100755 --- a/lib/make_zip_err_str.sh +++ b/lib/make_zip_err_str.sh
@@ -18,6 +18,6 @@ echo '#include "zip.h"' >> "$2.$$" echo 'char *zip_err_str[] = {' >> "$2.$$" sed -n '/^#define ZERR_/ s/.*\/\* \([^*]*\) \*\// "\1",/p' "$1" >> "$2.$$" -echo '}' >> "$2.$$" +echo '};' >> "$2.$$" mv "$2.$$" "$2"