Package: prayer
Version: 1.2.2.1-7
Severity: normal
Tags: patch

`make clean` in prayer 1.2.2.1-7 doesn't delete everything that it should -
several .a files are left behind, causing repeated builds from the same
source directory to fail. Please see attached patch (suitable for adding to
debian/patches directly).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Index: prayer-1.2.2.1/lib/Makefile
===================================================================
--- prayer-1.2.2.1.orig/lib/Makefile	2009-03-27 01:11:10.000000000 +0000
+++ prayer-1.2.2.1/lib/Makefile	2009-03-27 01:11:16.000000000 +0000
@@ -74,7 +74,7 @@
 	$(CC) $(CFLAGS) $(MUTEX_DEF) -c $<
 
 clean:
-	rm -f lib.o $(OBJS) $(WITHSSL_OBJS) $(NOSSL_OBJS) *~ \#*\#
+	rm -f lib.o $(OBJS) $(WITHSSL_OBJS) $(NOSSL_OBJS) *~ \#*\# $(TARGETS)
 
 install: all
 	cp template_expand template_compile ../bin
Index: prayer-1.2.2.1/templates/xhtml_strict/Makefile
===================================================================
--- prayer-1.2.2.1.orig/templates/xhtml_strict/Makefile	2009-03-27 01:11:10.000000000 +0000
+++ prayer-1.2.2.1/templates/xhtml_strict/Makefile	2009-03-27 01:11:16.000000000 +0000
@@ -108,7 +108,7 @@
 	cp *.vars $(BROOT)$(PREFIX)/templates/$(TYPE)
 
 clean:
-	rm -f *.html *.o *.c \#*\# *~
+	rm -f *.html *.o *.c \#*\# *~ $(TARGET)
 
 include Makefile.deps
 
Index: prayer-1.2.2.1/templates/xhtml_transitional/Makefile
===================================================================
--- prayer-1.2.2.1.orig/templates/xhtml_transitional/Makefile	2009-03-27 01:11:10.000000000 +0000
+++ prayer-1.2.2.1/templates/xhtml_transitional/Makefile	2009-03-27 01:11:16.000000000 +0000
@@ -108,7 +108,7 @@
 	cp *.vars $(BROOT)$(PREFIX)/templates/$(TYPE)
 
 clean:
-	rm -f *.html *.o *.c \#*\# *~
+	rm -f *.html *.o *.c \#*\# *~ $(TARGET)
 
 include Makefile.deps
 

Attachment: signature.asc
Description: Digital signature

Reply via email to