>Take a look at any RedHat ( or any similar, RPM-based linux system):
>/usr/src/redhat/SOURCES/my-package
>/usr/src/redhat/BUILD/my-package

Just to complement, the RPM (not only Redhat) way :

Sources (+ patches) are in :

/usr/src/redhat/SOURCES/

ie: /usr/src/redhat/SOURCES/jakarta-tomcat-src.tar.gz 

How to build the binary RPM is in :

/usr/src/redhat/SPEC/

ie: /usr/src/redhat/SPEC/jakarta-tomcat.spec

The build expand sources and goes to :

/usr/src/redhat/BUILD/

ie: /usr/src/redhat/BUILD/jakarta-tomcat/

After the build, normally the install copy necessary files
in /var/tmp/mypackage :

ie: /var/tmp/jakarta-tomcat/

There you'll find /usr/bin, /etc/httpd/conf/, .....

ie: /var/tmp/jakarta-tomcat/usr/bin/tomcat.sh
    /var/tmp/jakarta-tomcat/etc/httpd/conf/workers.properties

The RPM finish the build and start the packaging by grabing
all the files under /var/tmp/jakarta-tomcat/ and add them 
to the revelant package. 

An important point is that you tell RPM which files to put in
which packages. for examples tomcat has 2 packages :

tomcat-xxxx.noarch.rpm and tomcat-manual-xxxx.noarch.rpm

More important you'll find the tomcat-xxxx.src.rpm.

And that will help you replay (rebuild) the build process
on you own system :!!!!!

But what all of you say about poluting the source tree is 
right so I'll turn to -1 for TC 3.x. 

Regards

"Il n'y a que les imbéciles qui ne changent pas d'avis"
        - Anonyme


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to