Updated nocomp

This commit is contained in:
John Whitington 2013-08-29 12:10:51 +01:00
parent 5f5a3faf4e
commit 32b8c34bbd
2 changed files with 8 additions and 1 deletions

2
META
View File

@ -1,5 +1,5 @@
name="cpdf" name="cpdf"
description="PDF command line tools and library" description="High-level pdf tools base on CamlPDF"
version="1.7" version="1.7"
requires="camlpdf" requires="camlpdf"
archive(byte)="cpdf.cma" archive(byte)="cpdf.cma"

View File

@ -1,5 +1,6 @@
(* cpdf command line tools} *) (* cpdf command line tools} *)
let demo = false let demo = false
and noncomp = true
and major_version = 1 and major_version = 1
and minor_version = 7 and minor_version = 7
and version_date = "(7th August 2013)" and version_date = "(7th August 2013)"
@ -3343,6 +3344,12 @@ let align_specs s =
let go_withargv argv = let go_withargv argv =
if demo then if demo then
flprint "This demo is for evaluation only. http://www.coherentpdf.com/\n"; flprint "This demo is for evaluation only. http://www.coherentpdf.com/\n";
if noncomp then
begin
prerr_string "For non-commercial use only\n";
prerr_string "To purchase a license visit http://www.coherentpdf.com/\n\n";
flush stderr
end;
try try
(* Split the arguments into sets either side of ANDs *) (* Split the arguments into sets either side of ANDs *)
let sets = let sets =