Commit 265d49d0 authored by Marvin Schmidt's avatar Marvin Schmidt Committed by Zeeshan Ali

Consolidate API version in one place

https://bugs.freedesktop.org/show_bug.cgi?id=68191
parent 87367c19
......@@ -15,6 +15,8 @@ AM_MAINTAINER_MODE([enable])
AM_SILENT_RULES([yes])
AC_SUBST([GEOCLUE_API_VERSION], [2.0])
# Check for programs
AC_PROG_CC
AM_PROG_CC_C_O
......@@ -228,7 +230,7 @@ AC_CONFIG_FILES([
Makefile
build-aux/Makefile
src/Makefile
src/geoclue-2.0.pc
src/geoclue-$GEOCLUE_API_VERSION.pc:src/geoclue.pc.in
src/agent/Makefile
src/geocode-glib/Makefile
src/public-api/Makefile
......
......@@ -8,7 +8,7 @@ if BUILD_GEOIP_SERVER
SUBDIRS += geoip-server
endif # BUILD_GEOIP_SERVER
interfacedir = $(datadir)/geoclue-2.0
interfacedir = $(datadir)/geoclue-$(GEOCLUE_API_VERSION)
interface_DATA = geoclue-interface.xml
dbus_built_sources = geoclue-interface.c geoclue-interface.h
......@@ -99,6 +99,6 @@ EXTRA_DIST = $(interface_DATA) \
test-data/freegeoip-results.json
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = geoclue-2.0.pc
pkgconfig_DATA = geoclue-$(GEOCLUE_API_VERSION).pc
-include $(top_srcdir)/git.mk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment