[Olsr-dev] Have PERFIX globally

Henning Rogge (spam-protected)
Mon May 26 13:35:44 CEST 2008


Am Sonntag 25 Mai 2008 13:13:54 schrieb Bernd Petrovitsch:
> Hi all!
>
> The attached patch defines and uses the make-Variable PREFIX for all
> OSes (and not only FreeBSD).
> The default value is the one used by virtually everyone - including
> auto-tools: "/usr/local".
>
> This implies that packagers (and others) must pass the parameter
> PERFIX=/usr to "make" if they want to install under "/usr".
>
> * add PREFIX to the top-level Makefile.inc
> * use it instead of /usr
> * kill local PREFIX and LIBDIR instances
>
> I propose to add it right after the next - soon to be IIUC - release.

+PREFIX  ?= /usr/local
-ETCDIR  ?= $(DESTDIR)/etc
+ETCDIR  ?= $(DESTDIR)$(PREFIX)/etc

Hmm... so using the "/usr" PREFIX would put olsrd.conf into "/usr/etc" ?

Henning

*************************************************
Diplom Informatiker Henning Rogge
Forschungsgesellschaft für
Angewandte Naturwissenschaften e. V. (FGAN) 
Neuenahrer Str. 20, 53343 Wachtberg, Germany
Tel.: 0049 (0)228 9435-961
Fax: 0049 (0)228 9435-685
E-Mail: (spam-protected)
Web: www.fgan.de
************************************************
Sitz der Gesellschaft: Bonn
Registergericht: Amtsgericht Bonn VR 2530
Vorstand: Dr. rer. nat. Ralf Dornhaus (Vors.), Prof. Dr. Joachim Ender 
(Stellv.)




More information about the Olsr-dev mailing list