diff --git a/include/global.h b/include/global.h index c3d2b4f22..5c02491c3 100644 --- a/include/global.h +++ b/include/global.h @@ -11,14 +11,15 @@ /* * Development status possibilities. */ -#define NH_STATUS_RELEASED 0 /* Released */ -#define NH_STATUS_WIP 1 /* Work in progress */ -#define NH_STATUS_BETA 2 /* BETA testing */ +#define NH_STATUS_RELEASED 0 /* Released */ +#define NH_STATUS_WIP 1 /* Work in progress */ +#define NH_STATUS_BETA 2 /* BETA testing */ +#define NH_STATUS_POSTRELEASE 3 /* patch commit point only */ /* * Development status of this NetHack version. */ -#define NH_DEVEL_STATUS NH_STATUS_RELEASED +#define NH_DEVEL_STATUS NH_STATUS_POSTRELEASE #ifndef DEBUG /* allow tool chains to define without causing warnings */ #define DEBUG diff --git a/util/makedefs.c b/util/makedefs.c index 4334b9b0e..6b0ef9cc6 100644 --- a/util/makedefs.c +++ b/util/makedefs.c @@ -1201,16 +1201,20 @@ char *outbuf; const char *build_date; { char subbuf[64], versbuf[64]; - char betabuf[64]; + char statusbuf[64]; #if (NH_DEVEL_STATUS != NH_STATUS_RELEASED) #if (NH_DEVEL_STATUS == NH_STATUS_BETA) - Strcpy(betabuf, " Beta"); + Strcpy(statusbuf, " Beta"); #else - Strcpy(betabuf, " Work-in-progress"); +#if (NH_DEVEL_STATUS == NH_STATUS_WIP) + Strcpy(statusbuf, " Work-in-progress"); +#else + Strcpy(statusbuf, " post-release"); +#endif #endif #else - betabuf[0] = '\0'; + statusbuf[0] = '\0'; #endif subbuf[0] = '\0'; @@ -1220,7 +1224,7 @@ const char *build_date; #endif Sprintf(outbuf, "%s NetHack%s Version %s%s - last %s %s.", PORT_ID, - subbuf, version_string(versbuf, "."), betabuf, + subbuf, version_string(versbuf, "."), statusbuf, date_via_env ? "revision" : "build", build_date); return outbuf; }