[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_make mod



Finally,

    Here is an updated set.  I'm going to work on a dh-kde package or something
that'll contain this stuff.  

Thanks.

now...to really make this dh-kde package of some benefit...suggestions from
all.  Beyond the templates what else do packagers require or look for?  Submit
examples, ideas, whatever to me and I'll compile it into the package.


Ivan

On Fri, Dec 08, 2000 at 02:51:33AM -0700, Bruce Sass wrote:
> Hello Ivan,
> 
> I figured you (and anyone else packaging KDE programs) may be interested
> in this: a dh_make patch to allow custom debianizing templates, an
> edited version of the kde debian dir (so dh_make's parameter
> substitution does something useful). 
> 
> What I did to dh_make... added a command line option (-c, --custom) that
> takes an argument, the argument is used as the path to a directory
> containing template files (see /usr/share/debhelper/dh_make/* for
> examples).
> 
> To use the new feature just create a set of template files in a dir and
> add "-c /path/to/custom/template/dir" to your usual dh_make command.
> 
> Have fun.
> 
> 
> later,
> 
> 	Bruce
> 

Content-Description: diff to Potato's dh_make
> 4a5,6
> > # 20001208bms - added support for custom templates
> > #
> 10c12
> < $DH_MAKE_VERSION="0.21";
> ---
> > $DH_MAKE_VERSION="0.21.20001208bms";
> 22a25
> > $custom="";
> 67a71
> >   -c, --custom <dir>        use custom template in <dir>
> 71c75,76
> < By Craig Small <csmall\@debian.org> and Christoph Lameter <clameter\@debian.org>.
> ---
> > By Craig Small <csmall\@debian.org> and Christoph Lameter <clameter\@debian.org>,
> > custom template support added by Bruce Sass <bsass\@edmc.net>.
> 79a85
> > 	      custom => \$main::custom,
> 87c93
> <   if (GetOptions(\%options, "email=s", "file=s", "help", "version", "native", "single", "multi", "library") == 0)
> ---
> >   if (GetOptions(\%options, "email=s", "file=s", "custom=s", "help", "version", "native", "single", "multi", "library") == 0)
> 114d119
> < 
> 297a303,312
> > }
> > 
> > # Custom template
> > if ( -d $custom )
> > {
> >     @filenames = split /[ \n]/, `(cd $custom && ls)`;
> >     foreach $filename (@filenames)
> >     {
> >       process_file("$custom/$filename", $filename);
> >     }


---end quoted text---

-- 
----------------
Ivan E. Moore II
rkrusty@tdyc.com
http://snowcrash.tdyc.com
GPG KeyID=90BCE0DD
GPG Fingerprint=F2FC 69FD 0DA0 4FB8 225E 27B6 7645 8141 90BC E0DD



Reply to: