+version.h:
+ @echo '#include "config.h"' > version.h
+ @if [ -e .bzr ]; then \
+ echo "#define ONAK_VERSION PACKAGE_VERSION \"+bzr`bzr revno`\"" \
+ >> version.h; \
+ else \
+ echo "#define ONAK_VERSION PACKAGE_VERSION" >> version.h; \
+ fi
+
+.depend: $(SRCS) version.h