diff options
Diffstat (limited to 'doc2h.pl')
-rw-r--r-- | doc2h.pl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,12 @@ #/usr/bin/env perl -print '#define DOCSTRING "'; +use File::Slurp; + +my $version = read_file('version.txt'); + +chomp($version); + +printf "#define DOCSTRING \"inetools %s\\\n", $version; while(<>){ s|\"|\\"|g; s|\n|\\n\\\n|g; |