Package: dh-make
Version: 0.44
Severity: wishlist
Tags: patch

Hi,
it would nice to be able to access source file name in template files. I felt
that need when trying to write a template README.Debian-source for softwares
that always need to be repackaged the same way.

Here is a patch proposal.

arno

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make depends on:
ii  debhelper                     5.0.57     helper programs for debian/rules
ii  dpkg-dev                      1.14.7     package building tools for Debian
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-11   Larry Wall's Practical Extraction 

dh-make recommends no packages.

-- no debconf information
--- /usr/bin/dh_make    2007-08-31 08:36:25.000000000 +0200
+++ dh_make     2007-10-12 19:16:49.000000000 +0200
@@ -80,6 +80,7 @@
       $line =~ s/#PHONY_CONFIGURE#/$main::PHONY_CONFIGURE/g;
       $line =~ s/#CDBS_CLASS#/$main::CDBS_CLASS/g;
       $line =~ s/#BUILD_DEPS#/$main::BUILD_DEPS/g;
+      $line =~ s/#SOURCE_FILE#/$main::source_file/g;
 
       print OUT $line;
     }

Reply via email to