Xcode: #define include __DATE__ in VERSION
Change VERSION to include the __DATE__ when compiling from within Xcode. When building using "make xcode" or "make osxpkg" VERSION already is defined to the "real" version number set in configure.in.
This commit is contained in:
parent
8c0137a6e0
commit
d9355d53f8
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#define PACKAGE_NAME "ngircd"
|
#define PACKAGE_NAME "ngircd"
|
||||||
#ifndef VERSION
|
#ifndef VERSION
|
||||||
#define VERSION "??"
|
#define VERSION "??("__DATE__")"
|
||||||
#endif
|
#endif
|
||||||
#define SYSCONFDIR "/etc/ngircd"
|
#define SYSCONFDIR "/etc/ngircd"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue