cpp: generate version.h using AC_OUTPUT macro in ./configure

This commit is contained in:
frsyuki 2010-07-06 23:30:15 +09:00
parent fe77251242
commit 167e2475d8
3 changed files with 7 additions and 13 deletions

View file

@ -82,15 +82,6 @@ EXTRA_DIST = \
msgpack/type/tuple.hpp.erb
msgpack/version.h: msgpack/version.h.in Makefile.in
sed -e s/VERSION_UNDEFINED/$(VERSION)/ \
-e s/VERSION_MAJOR_UNDEFINED/$(VERSION_MAJOR)/ \
-e s/VERSION_MINOR_UNDEFINED/$(VERSION_MINOR)/ \
$< > $@
version.c: msgpack/version.h
doxygen_c:
cat ../Doxyfile > Doxyfile_c
echo "FILE_PATTERNS = *.h" >> Doxyfile_c