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

Re: Sample Debian package to show-case all



On Mon, 15 Dec 2014, T o n g wrote:
> - the latest standard of debian/rules file

THere is none. You can use dh ..., you can use the dh_* calls
directly, you can use cdbs, ...
I myself have packages with all kind of formats.

If it works out, using debhelper with dh is nice, but if you have
to start to override too many targets, I think it is better
to use dh_* calls directly.

> - the most simplified Makefile

do you mean "rules":
	%:
		dh $@

> - how to build from ./configure

see above

> - how to properly put/handle .1 man file

in the above case, add to debian/manpages

> - how to properly put/handle .html doc file

depends what you want to do with them

> - how to properly name patch files

in a way that the maintainer understands the naming

So, my bottom line, there are many examples ... not one size fits
all.

Maybe someone can come up with a trivial
	dh $@
rules file plus some debian/* files to showcase what you want. This
is what I would do.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


Reply to: