Package: harden-doc Version: 3.15.1 Severity: minor Tags: patch Dear Maintainer, *** Please consider answering these questions, where appropriate ***
* What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** 'make clean' leaves some derived files behind. This is due to the Makefile using bash-style brace expansion. This breaks, when /bin/sh is linked to dash, not bash, as in wheezy. Since the Makefile is using the make functions foreach and wildcard in other places, a rewrite using these fixes the problem without introducing further dependencies. See attached patch for details. Brace expansion seems to have been used only in the 'clean' target; there are no other occurrences of '{' in the file. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash -- no debconf information
>From 1883326ed53d1189cc39317140a64a96257bc0ba Mon Sep 17 00:00:00 2001 From: Felix Gatzemeier <m...@gmx.net> Date: Fri, 30 Nov 2012 20:45:42 +0100 Subject: [PATCH] Make clean independant from bash brace expansion --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b37930e..356bd9f 100644 --- a/Makefile +++ b/Makefile @@ -228,7 +228,7 @@ distclean: clean rm -f *.error $(MANUAL).*.sgml clean: - rm -f $(MANUAL)*.{txt,ps,dvi,pdf,info*,log,tex,aux,toc,sasp*,out,tov} + rm -f $(foreach suff,txt ps dvi pdf info* log tex aux toc sasp* out tov,$(wildcard $(MANUAL)*.$(suff))) rm -f *~ prior.aux pprior.aux body.tmp head.tmp tar.gz.log rm -f *.error $(MANUAL).*.ent $(MANUAL).*.sgml date.ent $(MANUAL).*.tpt rm -rf $(MANUAL)*.html *stamp -- 1.7.10.4