added updateversion into makefile while compiling

This commit is contained in:
Dhanya Maliakal
2017-06-28 11:23:19 +02:00
parent fde7ddf832
commit 4905f49108
2 changed files with 43 additions and 1 deletions

View File

@ -34,7 +34,7 @@ OBJS = $(SRC_CLNT:.cpp=.o)
.PHONY: all intdoc doc htmldoc package clean
all: package $(SRC_CLNT)
all: updateVersion package $(SRC_CLNT)
intdoc: $(SRC_H) $(SRC_CLNT)
doxygen doxy.config
@ -87,6 +87,11 @@ $(DESTDIR)/libSlsDetector.a: $(OBJS)
clean:
rm -rf $(DESTDIR)/libSlsDetector.a $(DESTDIR)/libSlsDetector.so core docs/* slsDetectorUsersDocs $(OBJS)
cd
updateVersion:
./updateGitVersion.sh
#-------------------------------------------------------------------------------