Bug#287441: patch target for debian/rules
Package: tetex-bin
Version: 2.0.2-25
Severity: wishlist
Hi,
Maybe that request is already obsolete due to Franks work on teTeX
beta: I'd like to see a patch target in debian/rules to make sure
debian/rules won't try to patch the tetex sources once again when
calling "./debian/rules binary" a second time and the source was
already patched.
Patch attached.
Hilmar
--
sigmentation fault
--- rules.orig 2004-12-23 22:50:53.000000000 +0100
+++ rules 2004-12-23 22:53:34.000000000 +0100
@@ -31,8 +31,8 @@
etcdir=/etc/texmf
debetc=debian/$(package)/etc/texmf
-configure: configure-stamp
-configure-stamp:
+patch: patch-stamp
+patch-stamp:
dh_testdir
# Add here commands to configure the package.
# Make sure all of our expected symlinks are in place
@@ -56,6 +56,11 @@
cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub ./texk/
cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub ./utils/texinfo/
cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub ./config/
+
+ touch patch-stamp
+
+configure: configure-stamp
+configure-stamp: patch-stamp
./configure --prefix=/usr --enable-ipc --without-dialog --without-texinfo --with-system-ncurses --with-x --with-system-zlib --with-system-pnglib --with-system-wwwlib --with-system-t1lib --disable-multiplatform --enable-shared --mandir='$${prefix}/share/man' --infodir='$${datadir}/info'
touch configure-stamp
@@ -70,7 +75,7 @@
> debian/recent-translators
-build-stamp: configure-stamp
+build-stamp: configure-stamp
dh_testdir
# Obsolete and now fixed pl.l by patch-tmp (for broken flex)
@@ -86,7 +91,7 @@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp
+ rm -f build-stamp configure-stamp patch-stamp
# Add here commands to clean up after the build process.
# Make sure all of our expected symlinks are in place
Reply to: