summaryrefslogtreecommitdiffstats
path: root/osmo-gsm-manuals.pc.in
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-11-14 14:25:18 +0100
committerOliver Smith <osmith@sysmocom.de>2018-11-21 14:29:05 +0100
commit2947683c3ac2ac94fda43c21be491c6417321e2b (patch)
treeb3f5fceabd3dde5f9dbaa4f51c36b87f92d0d009 /osmo-gsm-manuals.pc.in
parentfc9426e02ee6a448f22a42b95866a2c91b77fd4e (diff)
use autotools to add "make install" target
For reasoning why a transition to autotools is desired, see the commit message of the previous patch in this series. "make install" copies the "build", "common" dirs, as well as the "*.xsl" files to $(prefix)/share/osmo-gsm-manuals. Prefix is typically /usr/local. Also a pkg-config file gets installed, so the path of the shared files can be looked up by autoconf scripts of the project repositories. The check-depends script is installed to $(prefix)/bin/osmo-gsm-manuals-check-depends and will be used by project specific autoconf scripts, too. All existing make targets ("make", "make check", "make upload") are still working, users only need to run "autoreconf -fi" and "./configure" beforehand. Makefile.am uses custom install-data-hook and uninstall-local targets, so we don't need to specify each file of the relevant subdirs in a _DATA variable (no extra maintenance effort). (moving manuals to project repositories 5/19) Related: OS#3385 Change-Id: I8e7036fae062ee783cb132b14608827a82c5e7c7
Diffstat (limited to 'osmo-gsm-manuals.pc.in')
-rw-r--r--osmo-gsm-manuals.pc.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/osmo-gsm-manuals.pc.in b/osmo-gsm-manuals.pc.in
new file mode 100644
index 0000000..f9b318e
--- /dev/null
+++ b/osmo-gsm-manuals.pc.in
@@ -0,0 +1,6 @@
+prefix=@prefix@
+osmogsmmanualsdir=@prefix@/share/osmo-gsm-manuals
+
+Name: Osmocom GSM Manuals Development Files
+Description: Common files for building manuals of Osmocom programs
+Version: @VERSION@