Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 905 Bytes

README.md

File metadata and controls

40 lines (24 loc) · 905 Bytes

This repository contains scripts for building a Debian package for the piqi command-line tool.

The package includes:

  1. /usr/bin/piqi
  2. PIQI(1) man page
  3. HTML documentation (also available online at http://piqi.org/doc/)

Build prerequisites

Install the following packages:

# necessary for Debian packaging
apt-get install build-essential debhelper fakeroot

# required for the build itself
apt-get install ocaml camlp4-extra ocaml-findlib

# for building documentation and running tests
apt-get install pandoc libprotoc-dev protobuf-compiler

Building the package

make

Updating the package

To update the package after a new Piqi version is released:

  1. Set the VERSION and COMMIT variables in ./Makefile to the new upstream version.
  2. Edit debian/changelog