$OpenBSD: patch-Makefile_defs,v 1.1.1.1 2003/01/15 17:24:17 jakob Exp $ --- Makefile.defs.orig Tue Nov 12 18:21:28 2002 +++ Makefile.defs Wed Jan 15 18:13:13 2003 @@ -25,7 +25,7 @@ prefix = $(PREFIX) # prefix=/usr/local basedir = # install prefixes for various stuff -cfg-prefix = $(basedir)$(prefix) +cfg-prefix = bin-prefix = $(basedir)$(prefix) modules-prefix = $(basedir)$(prefix) doc-prefix = $(basedir)$(prefix) @@ -33,19 +33,19 @@ man-prefix = $(basedir)$(prefix) ut-prefix = $(basedir)$(prefix) # dirs -cfg-dir = etc/ser/ +cfg-dir = /etc/ bin-dir = sbin/ modules-dir = lib/ser/modules/ ifeq ($(OS), linux) doc-dir = share/doc/ser/ man-dir = share/man/ else - doc-dir=doc/ser/ + doc-dir=share/doc/ser/ man-dir=man/ endif ut-prefix = bin/ # target dirs for various stuff -cfg-target = $(prefix)/$(cfg-dir) +cfg-target = $(cfg-dir) modules-target = $(prefix)/$(modules-dir) @@ -58,7 +58,7 @@ INSTALL = install TAR= tar endif -# INSTALL-CFG = $(INSTALL) -m 644 +INSTALL-CFG = $(INSTALL) -m 644 INSTALL-BIN = $(INSTALL) -m 755 INSTALL-MODULES = $(INSTALL) -m 755 INSTALL-DOC = $(INSTALL) -m 644