From: Uwe Hermann Date: Tue, 29 May 2012 22:00:33 +0000 (+0200) Subject: sr: New default firmware dir: $prefix/share/sigrok-firmware. X-Git-Tag: libsigrok-0.1.1~13 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=fb6f1978ed490a4cc80125e93239abfdad55e4b7;p=libsigrok.git sr: New default firmware dir: $prefix/share/sigrok-firmware. We no longer expect firmware files to be in the $prefix/share/libsigrok/firmware directory, as that would require an additional (distro) package 'sigrok-firmware' or the like to install files into another package's (libsigrok) path, which can be problematic. The current 'sigrok-firmware' repo's "make install" will already install all files into $prefix/share/sigrok-firmware. --- diff --git a/Makefile.am b/Makefile.am index f455c800..3bd9f894 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ ACLOCAL_AMFLAGS = -I autostuff AM_CPPFLAGS = -I$(top_srcdir) -SUBDIRS = contrib hardware input output firmware +SUBDIRS = contrib hardware input output lib_LTLIBRARIES = libsigrok.la diff --git a/configure.ac b/configure.ac index d123c028..911987ef 100644 --- a/configure.ac +++ b/configure.ac @@ -239,7 +239,7 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull]) -AC_SUBST(FIRMWARE_DIR, "$datadir/libsigrok/firmware") +AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok-firmware") AC_SUBST(MAKEFLAGS, '--no-print-directory') AC_SUBST(AM_LIBTOOLFLAGS, '--silent') @@ -255,7 +255,6 @@ AC_SUBST(SR_PACKAGE_VERSION) AC_CONFIG_FILES([Makefile sigrok.h - firmware/Makefile hardware/Makefile hardware/alsa/Makefile hardware/asix-sigma/Makefile diff --git a/firmware/Makefile.am b/firmware/Makefile.am deleted file mode 100644 index 04bb9ed7..00000000 --- a/firmware/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -## -## This file is part of the sigrok project. -## -## Copyright (C) 2011 Uwe Hermann -## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -## - -pkgdatadir = $(FIRMWARE_DIR) - -dist_pkgdata_DATA = README - diff --git a/firmware/README b/firmware/README deleted file mode 100644 index 2b40d043..00000000 --- a/firmware/README +++ /dev/null @@ -1,3 +0,0 @@ -Place any firmware files required by your logic analyzer hardware into -this directory. -