Brian May wrote:
On Tue, Mar 18, 2003 at 10:35:58AM +0100, Michael Bell wrote:

In which case, it should be possible to change the PREFIX= to
take into account --with-module-prefix, right?

eg. PREFIX=$(DESTDIR)/$$\(PREFIX\)

which would not expand the value of $$\(PREFIX\)
into the perl Makefile is run.

Another idea - Debian uses diff-files to show the difference between the original source and the debian one. The following line is in src/modules/Makefile


 $(MODULE)/Makefile:     $(MODULE)/Makefile.PL
     cd $(MODULE) && CC=$(CC) $(PERL) Makefile.PL $(PERL_MAKEFILE_OPTS)

If you want to use a really special PREFIX then edit Makefile.global_vars. There you can define PERL_MAKEFILE_OPTS in a way that you want for every perl module. This is perhaps the best way.

See src/modules/openca-*/specs/(redhat|suse).spec. This is the reason why we have no problems during package builds with the modules.

Yes, but every time OpenCA adds/removes a perl module, then a lot of files need to be updated.

I don't see any point in being able to install openca-x509 for instance
without installing the other perl modules at the same time, so I lump
everything together in openca-common. Perhaps this might change in the
future, but not yet.

The module has defined dependencies but I understand that this is really easy for an insider and a horror for others. A radical change would be the collection of all *.pm files in one directory. Makefile.PL would define the name "OpenCA" and all *.pm files will be detected and installed automatically. This would reduce the number of files dramatically but it also reduce the reusability for others.


I think you should create a big common package with a modified Makefile.global-vars. Then there is only a minimal difference between debian and original OpenCA.

Greetings 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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to