pike.git / lib / modules / Tools.pmod / Standalone.pmod / make_wxs.pike

version» Context lines:

pike.git/lib/modules/Tools.pmod/Standalone.pmod/make_wxs.pike:1:   #pike __REAL_VERSION__ + #require constant(Standards.UUID.make_version3)      /*    * Make a Wix modules source XML file from an existing set of    * directories or files.    *    * 2004-11-02 Henrik Grubbström    */      constant description = "Creates a Wix modules source XML file.";    - #if constant(Standards.UUID.make_version3) -  +    int main(int argc, array(string) argv)   {    string base_guid = Standards.UUID.make_version1(-1)->str();    string version_str = "1.0";    string id;    string descr;    string manufacturer;    string comments;    string service;   
pike.git/lib/modules/Tools.pmod/Standalone.pmod/make_wxs.pike:62: Inside #if constant(Standards.UUID.make_version3)
   }       if (!id) {    werror("No identifier specified.\n");    exit(1);    }       argv = Getopt.get_args(argv);       string version_guid = -  Standards.UUID.make_version3(base_guid, version_str)->str(); +  Standards.UUID.make_version3(version_str, base_guid)->str();    Standards.XML.Wix.Directory root =    Standards.XML.Wix.Directory("SourceDir",    Standards.UUID.UUID(version_guid)->encode(),    "TARGETDIR");       string last_file;       foreach(argv[1..], string src) {    src = replace(src, "\\", "/");    src = replace(src, "\"", ""); // FIXME: Remove junk
pike.git/lib/modules/Tools.pmod/Standalone.pmod/make_wxs.pike:99: Inside #if constant(Standards.UUID.make_version3)
   last_file = dest;    }    }       root->set_sources();       write(Standards.XML.Wix.get_module_xml(root, id, version_str,    manufacturer, descr, version_guid,    comments)->render_xml());   } -  - #else /* !constant(Standards.UUID.make_version3) */ -  - constant this_program_does_not_exist=1; -  - #endif /* constant(Standards.UUID.make_version3) */ +