From: | Craig Ringer <ringerc(at)ringerc(dot)id(dot)au> |
---|---|
To: | daflmx <daflmx(at)qq(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: |
Date: | 2011-11-08 05:51:01 |
Message-ID: | 4EB8C345.8060507@ringerc.id.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 11/08/2011 09:18 AM, daflmx wrote:
> Hi,friends.
> Can you tell me the difference between the "dpkg -b directory
> packagename" and "dpkg-buildpackage -rfakeroot".Do these two commands
> both have the function of build a debian package?
First: is this an assignment or something? We've had an unusual flood of
questions about building Debian packages for PostgreSQL, which often
means someone's set coursework.
IIRC "dpkg -b" is just a wrapper around other tools. In the end the work
is done by debian/control and debian/rules anyway.
Neither does anything useful without a suitable debian/ directory with
debian/control file etc in the target directory. They don't just
magically turn any old source folder into a binary Debian package.
If you want to learn about building Debian packages, don't ask here,
read the Debian guide on packaging:
http://www.debian.org/doc/manuals/maint-guide/
http://www.debian.org/doc/manuals/maint-guide/first.en.html#workflow
http://www.debian.org/doc/manuals/maint-guide/build.en.html
--
Craig Ringer
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-11-08 05:58:47 | Re: Postgres vs other Postgres based MPP implementations |
Previous Message | Craig Ringer | 2011-11-08 05:44:53 | Re: Custom Constraint Violation Errors |