mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
Re-order Makefile install and uninstall a bit. Specifically
for the install so lsb commands come last should lsb not exist on the system, at least the rest of install works. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+3
-3
@@ -4,17 +4,17 @@ TOOL = scstadmin
|
||||
all: perl-module
|
||||
|
||||
install:
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) install
|
||||
install -m 755 $(TOOL) /usr/local/sbin
|
||||
install -m 755 init.d/scst /etc/init.d
|
||||
/usr/lib/lsb/install_initd scst
|
||||
install -m 755 init.d/qla2x00t /etc/init.d
|
||||
/usr/lib/lsb/install_initd scst
|
||||
/usr/lib/lsb/install_initd qla2x00t
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) install
|
||||
|
||||
uninstall:
|
||||
-/usr/lib/lsb/remove_initd qla2x00t
|
||||
-rm -f /etc/init.d/qla2x00t
|
||||
-/usr/lib/lsb/remove_initd scst
|
||||
-rm -f /etc/init.d/qla2x00t
|
||||
-rm -f /etc/init.d/scst
|
||||
-rm -f /usr/local/sbin/$(TOOL)
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) uninstall
|
||||
|
||||
Reference in New Issue
Block a user