Browse Source

automake: bugfix: fix installation paths

* Install to $datadir/dahdi and not $datadir/dahdi-tools
* Install to $includedir/dahdi and not $includedir/dahdi-tools

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
master
Oron Peled 6 years ago
committed by Tzafrir Cohen
parent
commit
af920cd079
No known key found for this signature in database GPG Key ID: 8EFD4C2F0325A0CE
  1. 2
      Makefile.am
  2. 2
      configure.ac
  3. 2
      hotplug/Makefile.am
  4. 2
      xpp/Makefile.am

2
Makefile.am

@ -71,7 +71,7 @@ libtonezone_la_SOURCES = \
zonedata.c \
tonezone.c \
version.c
pkginclude_HEADERS = tonezone.h
dahdiinclude_HEADERS = tonezone.h
libtonezone_la_CFLAGS = $(CFLAGS) -I$(srcdir) -DBUILDING_TONEZONE
libtonezone_la_LDFLAGS = -version-info "$(LTZ_CURRENT):$(LTZ_REVISION):$(LTZ_AGE)"

2
configure.ac

@ -36,6 +36,8 @@ fi
if test ${localstatedir} = '${prefix}/var'; then
localstatedir=/var
fi
AC_SUBST([dahditoolsdir], ['${datadir}/dahdi'])
AC_SUBST([dahdiincludedir], ['${includedir}/dahdi'])
AC_SUBST([udevrulesdir], '${sysconfdir}/udev/rules.d')

2
hotplug/Makefile.am

@ -1,5 +1,5 @@
nobase_dist_pkgdata_SCRIPTS = \
nobase_dist_dahditools_SCRIPTS = \
dahdi_handle_device \
dahdi_span_config \
dahdi_auto_assign_compat \

2
xpp/Makefile.am

@ -52,7 +52,7 @@ perl_mans = $(perl_scripts:%=%.8)
endif
dist_pkgdata_SCRIPTS = xpp_fxloader astribank_hook waitfor_xpds
dist_dahditools_SCRIPTS = xpp_fxloader astribank_hook waitfor_xpds
udevrulesdir = @udevrulesdir@
udevrules_DATA = xpp.rules

Loading…
Cancel
Save