Minor scstadmin-related improvements
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 17 Jul 2008 17:56:57 +0000 (17:56 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 17 Jul 2008 17:56:57 +0000 (17:56 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@464 d57e44dd-8a1f-0410-8b47-8ef2f437770f

Makefile
scstadmin/Makefile

index 858d970..6576a9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -153,12 +153,21 @@ scst_clean:
 scst_extraclean: 
        cd $(SCST_DIR) && $(MAKE) extraclean
 
+scstadm:
+       cd $(SCSTADM_DIR) && $(MAKE)
+
 scstadm_install: 
        cd $(SCSTADM_DIR) && $(MAKE) install
 
 scstadm_uninstall: 
        cd $(SCSTADM_DIR) && $(MAKE) uninstall
 
+scstadm_clean:
+       cd $(SCSTADM_DIR) && $(MAKE) clean
+
+scstadm_extraclean:
+       cd $(SCSTADM_DIR) && $(MAKE) extraclean
+
 qla:
        cd $(QLA_DIR) && $(MAKE)
 
@@ -289,6 +298,6 @@ release2debug:
        lsi lsi_install lsi_uninstall lsi_clean lsi_extraclean \
        iscsi iscsi_install iscsi_uninstall iscsi_clean iscsi_extraclean \
        scst scst_install scst_uninstall scst_clean scst_extraclean \
-       scstadm_install scstadm_uninstall \
+       scstadm scstadm_install scstadm_uninstall scstadm_clean scstadm_extraclean \
        usr usr_install usr_uninstall usr_clean usr_extraclean \
        debug2perf, debug2release, perf2debug, release2debug
index 2c7cb0c..c67b50a 100644 (file)
@@ -23,10 +23,11 @@ perl-module:
        $(MAKE) -C scst-$(MODULE_VERSION)
 
 clean:
-       $(MAKE) -C scst-$(MODULE_VERSION) clean
+       -$(MAKE) -C scst-$(MODULE_VERSION) clean
 
-distclean:
-       $(MAKE) -C scst-$(MODULE_VERSION) clean
+distclean: clean
        -rm -f scst-$(MODULE_VERSION)/Makefile.old
 
-.PHONY: all install uninstall
+extraclean: distclean
+
+.PHONY: all install uninstall perl-module clean distclean extraclean