~ubuntu-branches/ubuntu/saucy/xd/saucy-proposed

« back to all changes in this revision

Viewing changes to icmake/special

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-08 20:11:46 UTC
  • mfrom: (8.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130508201146-jr2yea8srl5b4zd0
Tags: 3.22.08-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//string  g_skel;
 
2
 
1
3
void special()
2
4
{
 
5
//    g_skel = setOpt(SKEL, "SKEL");
 
6
//
 
7
//    if ("INSTALL.im" newer "options/SKEL")
 
8
//        run("echo \"#define _Skel_  \\\"" + g_skel + "\\\"\" > options/SKEL");
 
9
 
3
10
    if (! exists("release.yo") || "VERSION" newer "release.yo") 
4
11
    {
5
12
        system("touch version.cc");
6
 
        run("gcc -E VERSION.h | grep -v '#' | sed 's/\\\"//g' > release.yo");
 
13
        run("gcc -E VERSION.h | grep -v '#' | sed 's/\\\"//g' > "
 
14
                                                            "release.yo");
7
15
    }
8
16
}