mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
- Added init enable instructions to "make install" and README file.
- Changed VERSION on top-level Makefile to MODULE_VERSION to be more clear. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5,6 +5,8 @@ Changes since 1.0.0
|
||||
- Renamed Changes to ChangeLog
|
||||
- Updated README to include instructions for installing the perl module.
|
||||
- Renamed SCST perl module directory tp scst-0.7.4
|
||||
- Added init enable instructions to "make install" and README file.
|
||||
- Changed VERSION on top-level Makefile to MODULE_VERSION to be more clear.
|
||||
|
||||
Changes since 1.0.0 RC1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
VERSION = 0.7.4
|
||||
MODULE_VERSION = 0.7.4
|
||||
TOOL = scstadmin
|
||||
|
||||
all: perl-module
|
||||
@@ -6,23 +6,27 @@ all: perl-module
|
||||
install:
|
||||
install -m 755 $(TOOL) /usr/local/sbin
|
||||
install -m 755 init.d/scst /etc/init.d
|
||||
$(MAKE) -C scst-$(VERSION) install
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) install
|
||||
@echo
|
||||
@echo "The SCST init file has been installed in /etc/init.d,"
|
||||
@echo "be sure to enable it with your favorite SysV init editor."
|
||||
@echo
|
||||
|
||||
uninstall:
|
||||
-rm -f /etc/init.d/scst
|
||||
-rm -f /usr/local/sbin/$(TOOL)
|
||||
$(MAKE) -C scst-$(VERSION) uninstall
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) uninstall
|
||||
|
||||
perl-module:
|
||||
@cd ./scst-$(VERSION); \
|
||||
@cd ./scst-$(MODULE_VERSION); \
|
||||
perl Makefile.PL;
|
||||
$(MAKE) -C scst-$(VERSION)
|
||||
$(MAKE) -C scst-$(MODULE_VERSION)
|
||||
|
||||
clean:
|
||||
$(MAKE) -C scst-$(VERSION) clean
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) clean
|
||||
|
||||
distclean:
|
||||
$(MAKE) -C scst-$(VERSION) clean
|
||||
-rm -f scst-$(VERSION)/Makefile.old
|
||||
$(MAKE) -C scst-$(MODULE_VERSION) clean
|
||||
-rm -f scst-$(MODULE_VERSION)/Makefile.old
|
||||
|
||||
.PHONY: all install uninstall
|
||||
|
||||
@@ -34,7 +34,9 @@ Installation is simple.
|
||||
#> make
|
||||
#> make install
|
||||
|
||||
This installs scstadmin, the init.d script and the perl module.
|
||||
This installs scstadmin, the init.d script and the perl module. If you want SCST to
|
||||
startup and configure automatically upon boot, enable SCST using your favorite
|
||||
SysV init editor.
|
||||
|
||||
|
||||
Getting Started:
|
||||
|
||||
Reference in New Issue
Block a user