I tried:

$(MAKE) install-common DESTDIR=$(CURDIR)/debian/openca-common

but that doesn't seem to install modules if package_build is
set to yes.

So I tried:

$(MAKE) -C src/modules install DESTDIR=$(CURDIR)/debian/openca-common

but that seems to totally ignore the value of DESTDIR, and installs
files under /usr/...

I ended up applying the simple patch modules/Makefile:

$(MODULES)::
-               cd $@ && $(MAKE) $(SUBTARGET)
+               cd $@ && $(MAKE) $(SUBTARGET) PREFIX=$(DESTDIR)/usr
-- 
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