]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdebfiles
r154: Initial Import
[debhelper.git] / dh_installdebfiles
index d999c91b2d57f6ede0d7c16112f2dda7f0563f47..cd4562eab3a146087164c8e88e6a71b7effc4c13 100755 (executable)
@@ -1,12 +1,15 @@
-#!/bin/sh -e
+#!/usr/bin/perl -w
 #
 # This program is deprecated, but left in the package for backwards
 # compatability. It simply calls the 3 programs that replaced it.
 
-PATH=debian:$PATH:/usr/lib/debhelper
+BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
+use Dh_Lib;
 
-echo "dh_installdebfiles: use of this program is deprecated, see man page." >&2
+$ENV{PATH}="debian:$ENV{PATH}:/usr/lib/debhelper";
 
-dh_installdeb $*
-dh_shlibdeps $*
-dh_gencontrol $*
+warning("use of this program is deprecated, see man page.");
+
+doit("dh_installdeb",@ARGV);
+doit("dh_shlibdeps",@ARGV);
+doit("dh_gencontrol",@ARGV);