On Mon, Mar 17, 2003 at 09:48:18AM +0100, Michael Bell wrote:
> This is correct because we want to build a package for each module. The 
> build process for Perl modules is the following:
> 
> - configure --your_options
> - cd src/modules/
> - build specific tar file
> - run RPM/DEB buildung by specs
> 
> Please read build-rpm.sh. Is it possible to integrate the debian build 
> process into this script? Does debian has something like spec files for 
> RPMs which we can integrate into OpenCAs buildprocess? If it is 
> necessary then we can integrate additonal directories for debian.
> 
> You can also search for *.spec* to get an overview which modules we create.

What about my patch though:

$(MODULES)::
-               cd $@ && $(MAKE) $(SUBTARGET)
+               cd $@ && $(MAKE) $(SUBTARGET) PREFIX=$(DESTDIR)/usr

This means modules will get installed in the correct spot. I don't
think it should break anything, normally DESTDIR="", so PREFIX=/usr,
the default anyway.

The Redhat packing appears to call "$(MAKE) $(SUBTARGET)
PREFIX=$(DESTDIR)/usr" for each module, but I'd rather only have to make
one call (seeing as I put all modules in the openca-common package).
-- 
Brian May <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to