view kdiff3/src/version.c @ 22:b6a7e96a4f2c

Correction of the script to create the first usefull setup
author friseb123
date Tue, 07 Oct 2003 17:37:29 +0000
parents 14900b5bf88c
children
line wrap: on
line source
#include <stdio.h>
#include "version.h"
main(int argv,char** argc)
{
  if (argv<=1)
  {
    printf("%s\n",VERSION);
  }
  else if (strcmp(argc[1],"dos")==0)
  {
    printf("set MUI_VERSION=\"%s\"\n",VERSION);
  }
  else if (strcmp(argc[1],"nsis")==0)
  {
    printf("!define MUI_VERSION \"%s\"\n",VERSION);
  }
  else if (strcmp(argc[1],"unix")==0)
  {
    printf("#define MUI_VERSION=\"%s\"\n",VERSION);
  }
}