summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
81f2810)
Make $(SRCS) a Makefile dependency for version.h so once any of the
source files change we can update our version to reflect this fact.
doxygen-docs: *.c *.h Doxyfile
doxygen
doxygen-docs: *.c *.h Doxyfile
doxygen
@echo '#include "config.h"' > version.h
@if [ -e .git ]; then \
echo "#define ONAK_VERSION \"`git describe --tags --dirty | cut -d - -f 2-`\"" \
@echo '#include "config.h"' > version.h
@if [ -e .git ]; then \
echo "#define ONAK_VERSION \"`git describe --tags --dirty | cut -d - -f 2-`\"" \