Package: latex-mk
Version: 1.8-5
Severity: normal
Tags: patch

The clean targets in the lgrind, tgif and xfig Makefile fragments use
a :Q operator that (looking at the differences of other BSD vs. GNU
make rules in latex-mk) apparently exists in BSD make but does not
work in GNU make.
This results in files not getting cleaned.

The attached patch should fix this, I only tested it using GNU make
for the xfig case.

elmar

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

latex-mk depends on no packages.

Versions of packages latex-mk recommends:
ii  make                        3.81-3       The GNU version of the "make" util
ii  tetex-base                  3.0.dfsg.3-1 Basic TeX input files of teTeX
ii  tetex-bin                   3.0-23       The teTeX programs

-- no debconf information

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <[EMAIL PROTECTED]>    ASCII Ribbon Campaign  \ /
`. `'    GPG key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \
--- lgrind.mk.in.in~    2006-04-04 22:32:34.000000000 +0200
+++ lgrind.mk.in.in     2006-12-06 01:38:16.000000000 +0100
@@ -218,7 +218,8 @@
 all::          $(ALLLGRINDOBJS)
 
 clean::
-       $(RM) -f $(ALLLGRINDOBJS:Q)
+BMK:   $(RM) -f $(ALLLGRINDOBJS:Q)
+GMK:   $(RM) -f $(ALLLGRINDOBJS)
 
 
 #######################################
--- tgif.mk.in.in~      2006-04-04 22:32:35.000000000 +0200
+++ tgif.mk.in.in       2006-12-06 01:38:50.000000000 +0100
@@ -174,7 +174,8 @@
 all::          $(ALLTGIFOBJS)
 
 clean::
-       $(RM) -f $(ALLTGIFOBJS:Q)
+BMK:   $(RM) -f $(ALLTGIFOBJS:Q)
+GMK:   $(RM) -f $(ALLTGIFOBJS)
 
 #######################################
 # 
--- xfig.mk.in.in~      2006-12-06 01:36:29.000000000 +0100
+++ xfig.mk.in.in       2006-12-06 01:39:52.000000000 +0100
@@ -174,7 +174,8 @@
 all::          $(ALLXFIGOBJS)
 
 clean::
-       $(RM) -f $(ALLXFIGOBJS:Q)
+BMK:   $(RM) -f $(ALLXFIGOBJS:Q)
+GMK:   $(RM) -f $(ALLXFIGOBJS)
 
 #######################################
 # 

Attachment: signature.asc
Description: Digital signature

Reply via email to