diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-27 17:16:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-27 17:16:48 +0000 |
commit | e53aaf7cbad6aa86bd83cf09cd5a1e4c715c61e7 (patch) | |
tree | 76d7eae032c785c0ebd1e47a9f741f7748fa5672 /configure | |
parent | 283cb86e5d0ab8b463d50934fb22a8774d83faf4 (diff) |
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3374 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -873,7 +873,11 @@ sub writefiles { print "Writing \033[1;32minspircd_config.h\033[0m\n"; # First File.. inspircd_config.h chomp(my $incos = `uname -n -s -r`); - chomp(my $version = `sh ./src/version.sh` + " (r" + `./src/svn-rev.sh` + ")"); + chomp(my $version = `sh ./src/version.sh`); + chomp(my $revision = " (r" + `./src/svn-rev.sh`); + $revision = $revision + ")"; + my $version = $version + $revision; + chomp(my $revision2 = `./src/svn-rev.sh`); open(FILEHANDLE, ">include/inspircd_config.h"); my $NL = $config{NICK_LENGT}+1; my $CL = $config{CHAN_LENGT}+1; @@ -885,6 +889,7 @@ sub writefiles { #define CONFIG_FILE "$config{CONFIG_DIR}/inspircd.conf" #define MOD_PATH "$config{MODULE_DIR}" #define VERSION "$version" +#define REVISION "$revision2" #define MAXCLIENTS $config{MAX_CLIENT} #define MAX_DESCRIPTORS $config{MAX_DESCRIPTORS} #define NICKMAX $NL |