Updated server version added to the prompt and in the log files.

See Bugzilla bug 376.
This commit is contained in:
Mark Riddoch
2014-02-05 11:29:20 +01:00
parent fb8212543a
commit fa79a121e6
4 changed files with 14 additions and 6 deletions

View File

@ -63,7 +63,7 @@ HDRS= ../include/atomic.h ../include/buffer.h ../include/dcb.h \
../include/session.h ../include/spinlock.h ../include/thread.h \
../include/modules.h ../include/poll.h ../include/config.h \
../include/users.h ../include/hashtable.h ../include/gwbitmask.h \
../include/adminusers.h
../include/adminusers.h ../include/version.h
OBJ=$(SRCS:.c=.o)
@ -89,6 +89,10 @@ maxpasswd: $(POBJS)
.c.o:
$(CC) $(CFLAGS) $< -o $@
../include/version.h: ../../VERSION
echo '#define MAXSCALE_VERSION "'`cat ../../VERSION`'"' > ../include/version.h
clean:
rm -f $(OBJ) maxscale
- rm *.so
@ -96,7 +100,7 @@ clean:
tags:
ctags $(SRCS) $(HDRS)
depend:
depend: ../include/version.h
@rm -f depend.mk
cc -M $(CFLAGS) $(SRCS) > depend.mk