mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Patch from Benjamin Yates <benjamin@rqdq.com> improving archlinux pkgbuild build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -70,8 +70,10 @@ MOD_VERS := $(shell ls Module.symvers 2>/dev/null)
|
||||
|
||||
install: all
|
||||
-rm -f $(INSTALL_DIR)/scsi_tgt.ko
|
||||
$(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) BUILD_DEV=m \
|
||||
modules_install
|
||||
install -d $(INSTALL_DIR)
|
||||
install -d $(INSTALL_DIR)/dev_handlers
|
||||
install -m 644 dev_handlers/*.ko $(INSTALL_DIR)/dev_handlers
|
||||
install -m 644 scst.ko $(INSTALL_DIR)
|
||||
install -d $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst.h $(INSTALL_DIR_H)
|
||||
install -m 644 ../include/scst_sgv.h $(INSTALL_DIR_H)
|
||||
@@ -87,7 +89,7 @@ ifneq ($(MOD_VERS),)
|
||||
install -m 644 Module.symvers $(INSTALL_DIR_H)
|
||||
endif
|
||||
-/sbin/depmod -a $(KVER)
|
||||
mkdir -p /var/lib/scst/pr
|
||||
mkdir -p $(DESTDIR)/var/lib/scst/pr
|
||||
@echo "****************************************************************"
|
||||
@echo "*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*"
|
||||
@echo "*!! !!*"
|
||||
|
||||
@@ -5,8 +5,9 @@ SBINDIR := $(PREFIX)/usr/local/sbin
|
||||
|
||||
all: perl-module
|
||||
|
||||
install:
|
||||
install: all
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) install
|
||||
install -d $(DESTDIR)$(SBINDIR)
|
||||
install -m 755 $(TOOL) $(DESTDIR)$(SBINDIR)
|
||||
|
||||
uninstall:
|
||||
|
||||
@@ -5,8 +5,9 @@ SBINDIR := $(PREFIX)/usr/local/sbin
|
||||
|
||||
all: perl-module
|
||||
|
||||
install:
|
||||
install: all
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) install
|
||||
install -d $(DESTDIR)$(SBINDIR)
|
||||
install -m 755 $(TOOL) $(DESTDIR)$(SBINDIR)
|
||||
|
||||
uninstall:
|
||||
|
||||
Reference in New Issue
Block a user