re generate a rules file

2005-03-08 Thread Rakotomandimby (R12y) Mihamina
Hello.
I did not make a backup copy of my rules file, and I edited it like a
pig.
I would like to do it again but with a clean rules file.
I would like to re-generate the rules file. How to?
-- 
ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: re generate a rules file

2005-03-08 Thread Justin Pryzby
On Tue, Mar 08, 2005 at 09:34:04PM +0100, Rakotomandimby (R12y) Mihamina wrote:
 Hello.
 I did not make a backup copy of my rules file, and I edited it like a
 pig.
 I would like to do it again but with a clean rules file.
 I would like to re-generate the rules file. How to?
A=$(mktemp -d); cd $A; mkdir z-1; cd z-1; dh_make -s; less debian/rules

Well, you can just look in /usr/share/.

  /usr/share/debhelper/dh_make/debiank/rules
  /usr/share/debhelper/dh_make/debianl/rules
  /usr/share/debhelper/dh_make/debianm/rules
  /usr/share/debhelper/dh_make/debians/rules

:)

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: re generate a rules file

2005-03-08 Thread Hervé Cauwelier
Rakotomandimby (R12y) Mihamina wrote:
Hello.
I did not make a backup copy of my rules file, and I edited it like a
pig.
I would like to do it again but with a clean rules file.
Have you generated a package yet? If so, you will find it inside the
package-version.diff.gz file.
If you don't have diff.gz file, it's because you made a native package,
i.e. the debian/ directory is directly into the upstream tarball.
Natives packages are special cases to me and the regular packager won't
need it. A regular software package should have its Debian packages keep
separated. To do so, use a tarball without the debian/ directory in it
and name it with a .orig.tar.gz extension.
I would like to re-generate the rules file. How to?
Probably by using dh_make as you may have done the first time.
If you are confident with source versioning, consider using one of the
cvs-buildpackage, or svn-, or tla-. I use the latter and couldn't work
without it now!
--
Hervé Cauwelier
http://www.oursours.net/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: re generate a rules file

2005-03-08 Thread Lucas Wall
On 03/08/2005 05:34 PM, Rakotomandimby (R12y) Mihamina wrote:
Hello.
I did not make a backup copy of my rules file, and I edited it like a
pig.
I would like to do it again but with a clean rules file.
I would like to re-generate the rules file. How to?
[dh_make man page:]
-a, --addmissing
Adds missing example and control files on an existing debian source 
directory.

K.
--
Lucas Wall [EMAIL PROTECTED]  .''`.
Buenos Aires, Argentina: :ø :   Debian GNU/Linux
http://www.kadath.com.ar   `. `'  http://www.debian.org
PGP: 1024D/84FB46D6  `-
 5D25 528A 83AB 489B 356Ahttp://people.debian.org/~lwall
 4087 BC9B 4733 84FB 46D6mailto:[EMAIL PROTECTED]


signature.asc
Description: OpenPGP digital signature


Re: re generate a rules file

2005-03-08 Thread Frank Küster
Rakotomandimby (R12y) Mihamina [EMAIL PROTECTED] schrieb:

 Hello.
 I did not make a backup copy of my rules file, and I edited it like a
 pig.
 I would like to do it again but with a clean rules file.
 I would like to re-generate the rules file. How to?

Next time, use a version control system (together with cvs-buildpackage
or its svn/arch sisters).

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer