From fc9426e02ee6a448f22a42b95866a2c91b77fd4e Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Wed, 14 Nov 2018 11:50:17 +0100 Subject: prepare for autotools: add git-version-gen Add the same version of git-version-gen, which most other Osmocom repositories (libasn1c, libosmocore, libosmo-netif, libosmo-sccp, ...) are using, so they behave the same. git-version-gen generates a version string derived from the git repository, or from a .tarball-version file when running outside of a git directory. Unfortunatelly it seems to be impossible to use git-version-gen from autoconf without adding it to the source tree. Autotools will be used to install the shared manual files into the system in a way that is consistent with the other Osmocom repositories: $ autoreconf -fi $ ./configure --prefix=/usr/local $ make $ make install Project repositories will check with pkg-config if osmo-gsm-manuals is installed (like any other shared Osmocom component), when a new configure flag for building the manuals is passed. This will also work with distribution's package managers, for instance we could have a osmo-gsm-manuals-dev package in Debian on which the other packages would have a build-time dependency to build the UNIX man pages (OS#3386). (moving manuals to project repositories 4/19) Related: OS#3385 Change-Id: I34b0d20046417179250a5065574e2bc303889cf6 --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 1e0984f..fbe2111 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,7 @@ *.check generated/ tests/test-usermanual.adoc + +# git-version-gen +.tarball-version +.version -- cgit v1.2.3