Bug#733018: ghostscript: typo in clean target prevents rebuilds from building
Source: ghostscript
Version: 9.05~dfsg-8
Severity: normal
Tags: patch
This package fails to build a second time because the file cups/gstopxl is not cleaned.
The clean targettries to remove "cups/pstopxl", which I suspect is a typo.
Fixing that allows rebuilds to proceed.
Here is the patch:
diff -Nru ghostscript-9.05~dfsg/debian/rules ghostscript-9.05~dfsg/debian/rules
--- ghostscript-9.05~dfsg/debian/rules 2013-07-04 12:33:35.000000000 +0000
+++ ghostscript-9.05~dfsg/debian/rules 2013-12-22 18:37:10.000000000 +0000
clean::
[ ! -f Makefile ] || $(MAKE) soclean
[ ! -f Makefile ] || $(MAKE) distclean
-# These are somehow left...
- rm -rf sobin soobj gs.a cups/pstoraster cups/pstopxl
+ # These are somehow left...
+ rm -rf sobin soobj gs.a cups/pstoraster cups/gstopxl
# Remove some of the scripts
install/ghostscript::
-- System Information:
Debian Release: 7.3
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: