Adjusted OpenBSD installation paths
authorDavid Dahlberg <david.dahlberg@fkie.fraunhofer.de>
Fri, 15 Aug 2014 10:41:50 +0000 (12:41 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Fri, 15 Aug 2014 10:41:50 +0000 (12:41 +0200)
Installation goes to /usr/local except for /etc.

make/Makefile.obsd

index 1cac7df..4356c34 100644 (file)
@@ -2,8 +2,12 @@
 # OPENBSD SPECIFIC CONFIGURATION
 #
 
 # OPENBSD SPECIFIC CONFIGURATION
 #
 
-DESTDIR ?=
-LIBDIR =       $(DESTDIR)/usr/lib
+PREFIX ?=      /usr/local
+SBINDIR =       $(PREFIX)/sbin
+ETCDIR =        /etc/olsrd
+LIBDIR =        $(PREFIX)/lib
+DOCDIR =        $(PREFIX)/share/doc
+MANDIR =        $(PREFIX)/man
 
 SRCS +=                $(wildcard src/bsd/*.c src/unix/*.c)
 HDRS +=                $(wildcard src/bsd/*.h src/unix/*.h)
 
 SRCS +=                $(wildcard src/bsd/*.c src/unix/*.c)
 HDRS +=                $(wildcard src/bsd/*.h src/unix/*.h)