diff --git a/dlls/hamsandwich/sdk/moduleconfig.h b/dlls/hamsandwich/sdk/moduleconfig.h index acd4d821..167cea64 100644 --- a/dlls/hamsandwich/sdk/moduleconfig.h +++ b/dlls/hamsandwich/sdk/moduleconfig.h @@ -3,11 +3,11 @@ #ifndef __MODULECONFIG_H__ #define __MODULECONFIG_H__ -//#include "svn_version.h" +#include "../svn_version.h" // Module info #define MODULE_NAME "Ham Sandwich" -#define MODULE_VERSION "1.8" +#define MODULE_VERSION SVN_VERSION #define MODULE_AUTHOR "AMX Mod X Dev Team" #define MODULE_URL "http://www.amxmodx.org" #define MODULE_LOGTAG "HAMSANDWICH" diff --git a/dlls/hamsandwich/svn_version.h b/dlls/hamsandwich/svn_version.h new file mode 100644 index 00000000..b7df7758 --- /dev/null +++ b/dlls/hamsandwich/svn_version.h @@ -0,0 +1,9 @@ +#ifndef _INCLUDE_SVN_VERSION_H_ +#define _INCLUDE_SVN_VERSION_H_ + +/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */ +/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */ + +#define SVN_VERSION "1.8.0.3377" + +#endif //_INCLUDE_SVN_VERSION_H_ diff --git a/dlls/hamsandwich/svn_version.tpl b/dlls/hamsandwich/svn_version.tpl new file mode 100644 index 00000000..bf1d0d23 --- /dev/null +++ b/dlls/hamsandwich/svn_version.tpl @@ -0,0 +1,9 @@ +#ifndef _INCLUDE_SVN_VERSION_H_ +#define _INCLUDE_SVN_VERSION_H_ + +/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */ +/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */ + +#define SVN_VERSION "$PMAJOR$.$PMINOR$.$PREVISION$.$LOCAL_BUILD$" + +#endif //_INCLUDE_SVN_VERSION_H_ diff --git a/modules.versions b/modules.versions index e0fd83cb..049d60e1 100644 --- a/modules.versions +++ b/modules.versions @@ -96,4 +96,9 @@ out = svn_version.h [tsfun] folder = dlls/ts/tsfun in = svn_version.tpl -out = svn_version.h \ No newline at end of file +out = svn_version.h + +[hamsandwich] +folder = dlls/hamsandwich +in = svn_version.tpl +out = svn_version.h