Preprocessing for generated ezxml files.

This commit is contained in:
Ward Fisher 2021-11-04 13:46:07 -06:00
parent 0e336208da
commit b69163a387

View File

@ -41,6 +41,8 @@ makelib::
sed -e 's|//\(.*\)|/*\1*/|' \
cat >./ezxml.c
sed -e 's|//\(.*\)|/*\1*/|' <ezxml/ezxml.h >./ezxml.h
sed -i .bak 's/<fcntl.h>/<fcntl.h>\n#include <unistd.h>/g' ezxml.h
rm ezxml.h.bak
cp ezxml/license.txt .
rm -fr ezxml