X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installdebfiles;h=cd4562eab3a146087164c8e88e6a71b7effc4c13;hb=cb6d210f988f3378d6197fa358da760bebc134fd;hp=6afdf54886996011c28895ff43748dbefc961e86;hpb=fa0b6b8309672b44488dfef0891de99ef6f09d30;p=debhelper.git diff --git a/dh_installdebfiles b/dh_installdebfiles index 6afdf54..cd4562e 100755 --- a/dh_installdebfiles +++ b/dh_installdebfiles @@ -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 "* Note: dh_installdebfiles is deprecated." >&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);