[med-svn] r5842 - trunk/packages/dcmtk/trunk/debian
Mathieu Malaterre
malat-guest at alioth.debian.org
Tue Feb 1 16:41:07 UTC 2011
Author: malat-guest
Date: 2011-02-01 16:41:04 +0000 (Tue, 01 Feb 2011)
New Revision: 5842
Modified:
trunk/packages/dcmtk/trunk/debian/rules
Log:
Thanks to Paul Wise on debian-mentors for the fix
Modified: trunk/packages/dcmtk/trunk/debian/rules
===================================================================
--- trunk/packages/dcmtk/trunk/debian/rules 2011-02-01 07:58:24 UTC (rev 5841)
+++ trunk/packages/dcmtk/trunk/debian/rules 2011-02-01 16:41:04 UTC (rev 5842)
@@ -42,6 +42,14 @@
# keep ap copy of the original config files to be able to move
# them back right into place in the clean target
cd config && mkdir backup && cp -a config* confmod include backup
+
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config/config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config/config.guess
+endif
+
cd config && ./autoall && cd .. && \
./configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
@@ -121,12 +129,8 @@
-test -r config/lzwtest.tif && \
rm -f config/lzwtest.tif
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config/config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config/config.guess
-endif
+ rm config/config.sub
+ rm config/config.guess
dh_clean
More information about the debian-med-commit
mailing list