[Pkg-bitcoin-commits] [groestlcoin] 05/06: Use dh-autoreconf. Stop build-depend (explicitly) on libtool automake autoconf.

Jonas Smedegaard dr at jones.dk
Sun Sep 24 19:10:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository groestlcoin.

commit 110b5ca823d10745051fa60bed387adb62635b29
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Sep 24 20:49:01 2017 +0200

    Use dh-autoreconf. Stop build-depend (explicitly) on libtool automake autoconf.
---
 debian/rules | 52 +---------------------------------------------------
 1 file changed, 1 insertion(+), 51 deletions(-)

diff --git a/debian/rules b/debian/rules
index e260716..321518a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,12 +17,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-DEB_AUTO_UPDATE_LIBTOOL = pre
-DEB_AUTO_UPDATE_ACLOCAL = ,
-DEB_AUTO_UPDATE_AUTOCONF = ,
-DEB_AUTO_UPDATE_AUTOMAKE = ,
-DEB_AUTO_UPDATE_AUTOHEADER = ,
-include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
@@ -42,10 +37,6 @@ DEB_BUILD_PARALLEL = 1
 DEB_INSTALL_DOCS_ALL += doc/release-notes.md
 DEB_INSTALL_EXAMPLES_$(pkg-daemon) += contrib/debian/examples/*
 
-# suppress checking license during build
-DEB_COPYRIGHT_CHECK_LICENSECHECK =
-CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
-
 # work around build failure with gcc 4.7
 #CXXFLAGS += -fpermissive
 
@@ -165,47 +156,6 @@ debian/stamp-local-shlibs-$(lib): \
 clean::
 	rm -f debian/stamp-local-shlibs-$(lib)
 
-# create autotools files from scratch during build
-auxdir = build-aux
-macrodir = $(auxdir)/m4
-makefiledirs = . src
-autoheaders = src/config/$(lib)-config.h
-files_autotools_core = $(auxdir)/config.guess $(auxdir)/config.sub
-stems_m4_libtool = libtool ltoptions ltsugar ltversion lt~obsolete
-files_libtool = $(auxdir)/ltmain.sh $(stems_m4_libtool:%=$(macrodir)/%.m4)
-stems_m4_autoconf = pkg
-stems_aux_autoconf = compile install-sh missing
-files_autoconf = aclocal.m4 configure $(stems_aux_autoconf:%=$(auxdir)/%)
-files_autoconf += $(stems_m4_autoconf:%=$(macrodir)/%.m4)
-stems_m4_archive = check_compile_flag check_link_flag check_preproc_flag
-stems_m4_archive += pthread
-files_archive = $(stems_m4_archive:%=$(macrodir)/ax_%.m4)
-stems_m4_boost = boost_base boost_program_options
-files_boost = $(stems_m4_boost:%=$(macrodir)/ax_%.m4)
-stems_m4_misc = gcc_func_attribute
-files_misc = $(stems_m4_misc:%=$(macrodir)/ax_%.m4)
-files_automake = $(auxdir)/depcomp $(makefiledirs:=/Makefile.in)
-files_automake += $(auxdir)/test-driver
-files_autoheader = config.h.in $(autoheaders:=.in)
-files_configure = config.log
-stems_autotools = autotools_core libtool aclocal autoconf automake
-stems_autotools += autoheader configure archive boost misc
-files_autotools = $(foreach var,$(stems_autotools),$(files_$(var)))
-DEB_UPSTREAM_CRUFT_MOVE += $(files_archive) $(files_boost) $(files_misc)
-DEB_ACLOCAL_ARGS = -I$(macrodir) --install --force
-DEB_AUTOMAKE_ARGS = --add-missing --copy --foreign --force
-DEB_MAKE_CLEAN_TARGET = distclean
-makefile-clean::
-	rm -rf autom4te.cache
-	rm -f $(filter-out $(DEB_UPSTREAM_CRUFT_MOVE),$(files_autotools))
-clean::
-	rm -f $(filter-out $(DEB_UPSTREAM_CRUFT_MOVE),$(files_autotools_core))
-	test ! -d $(auxdir) || rmdir --ignore-fail-on-non-empty $(auxdir)
-
-# cleanup missed autotools
-clean::
-	rm -f src/config/bitcoin-config.h.in Makefile config.status src/Makefile
-
 # track symbols using pkgkde-symbolshelper
 CDBS_BUILD_DEPENDS +=, pkg-kde-tools
 include /usr/share/pkg-kde-tools/makefiles/1/cdbs/symbolshelper.mk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/groestlcoin.git



More information about the Pkg-bitcoin-commits mailing list