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.
This would break our today's make philosophy. We use PERL_MAKEFILE_OPTS from configure to set a prefix during perl Makefile.PL. We can install modules in every path we want. --with-module-prefix=/usr installs the module to /usr/perl5.
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).
The specfiles for our perl RPMs do a complete different thing because they have a build section:
%build perl Makefile.PL make
See src/modules/openca-*/specs/(redhat|suse).spec. This is the reason why we have no problems during package builds with the modules.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel