From e37673130c821a8bbdf9da1907cf1cdb0b689bbe Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Thu, 31 Oct 2019 20:32:39 +0000 Subject: Minor corrections in distribution and autoconf prerequisite of automake Some minor corrections were made in the template: - When making the distribution, `.swp' files (created by Vim) are also removed. - Autoconf is set as a prerequisite of Automake I was also trying to add the Apache log4cxx, but its default 0.10.0 tarball needs some patches, so I have just left it half done until someone actually needs it and we apply the patch. --- reproduce/software/make/build-rules.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reproduce/software/make/build-rules.mk') diff --git a/reproduce/software/make/build-rules.mk b/reproduce/software/make/build-rules.mk index a2d1c17..cde8f71 100644 --- a/reproduce/software/make/build-rules.mk +++ b/reproduce/software/make/build-rules.mk @@ -72,7 +72,7 @@ gbuild = if [ x$(static_build) = xyes ] && [ "x$(2)" = xstatic ]; then \ fi; \ \ if [ -f $(ibdir)/bash ]; then \ - if [ -f $$confscript ]; then \ + if [ -f "$$confscript" ]; then \ sed -e's|\#\! /bin/sh|\#\! $(ibdir)/bash|' \ -e's|\#\!/bin/sh|\#\! $(ibdir)/bash|' \ $$confscript > $$confscript-tmp; \ @@ -84,7 +84,7 @@ gbuild = if [ x$(static_build) = xyes ] && [ "x$(2)" = xstatic ]; then \ else shellop="SHELL=/bin/sh"; \ fi; \ \ - if [ -f $$confscript ]; then \ + if [ -f "$$confscript" ]; then \ if [ x"$(strip $(1))" = x"zlib-$(zlib-version)" ]; then \ configop="--prefix=$(idir)"; \ else configop="$$shellop --prefix=$(idir)"; \ -- cgit v1.2.1