Sha256: 9618c232d6db0c92c466cf3b22dce8e54e1605cb93332d400e99dc1af6c30181

Contents?: true

Size: 809 Bytes

Versions: 24

Compression:

Stored size: 809 Bytes

Contents

#!/usr/bin/perl -w

# Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

use strict;

# Determine version number
my $version = "X.Y.Z";
open(VERSION, "../../include/asio/version.hpp") or die("Can't open version.hpp");
while (my $line = <VERSION>)
{
  if ($line =~ /^#define ASIO_VERSION .* \/\/ (.*)$/)
  {
    $version = $1;
  }
}
close(VERSION);

# Generate PDF output
system("bjam asioref");
system("xsltproc --stringparam asio.version $version asioref.xsl asio.docbook > asioref.docbook");
system("dblatex -I overview -s asioref.sty -P table.in.float=0 -o asioref-$version.pdf asioref.docbook");
system("rm asioref.docbook");

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/asio/asio/src/doc/makepdf.pl
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/asio/asio/src/doc/makepdf.pl
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/asio/asio/src/doc/makepdf.pl
couchbase-3.0.0.alpha.1 ext/third_party/asio/asio/src/doc/makepdf.pl