From dea280a0f9acfe44d847881c641dd50deb9f6585 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 23 Jul 2011 12:25:55 +0000 Subject: [PATCH] scstadmin: Make (un)installation work again git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3742 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scstadmin/Makefile | 5 +---- scstadmin/scstadmin.sysfs/Makefile | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/scstadmin/Makefile b/scstadmin/Makefile index 1e62a22cb..11551617b 100644 --- a/scstadmin/Makefile +++ b/scstadmin/Makefile @@ -1,9 +1,6 @@ -# Prefix for /sbin and /man destination paths. -PREFIX ?= /usr/local - SCSTADMIN_DIR = scstadmin -MANDIR := $(DESTDIR)$(PREFIX)/man +MANDIR := $(DESTDIR)/usr/local/man INITDIR := $(shell if [ -f /etc/slackware-version ]; then \ echo /etc/rc.d; \ else \ diff --git a/scstadmin/scstadmin.sysfs/Makefile b/scstadmin/scstadmin.sysfs/Makefile index a40a0ca54..a2ce58a60 100644 --- a/scstadmin/scstadmin.sysfs/Makefile +++ b/scstadmin/scstadmin.sysfs/Makefile @@ -1,7 +1,7 @@ MODULE_VERSION = 0.9.10 TOOL = scstadmin -SBINDIR := $(PREFIX)/sbin +SBINDIR := /usr/local/sbin all: perl-module