mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Preprocessing for generated ezxml files.
This commit is contained in:
parent
0e336208da
commit
b69163a387
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user