summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-01 22:27:14 +0000
committerlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-01 22:27:14 +0000
commitc6951ca1da318efb2a901eb672384a5f96b7a422 (patch)
tree10650e089e11e23f2f55ffde544da7817ed88668 /Makefile
parente3fddca3fa0f61ccaeebab1d2f265c15d7e6a4a7 (diff)
new gmake target: gmake <CONFIG>-sysinfo retruns some basic info on Cactus and the hardware
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1182 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e3255e0..978d9327 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.58 1999-11-12 18:32:40 goodale Exp $
+# @version $Id: Makefile,v 1.59 1999-12-01 22:26:32 lanfer Exp $
# @@*/
##################################################################################
@@ -603,6 +603,24 @@ checkout:
@echo Running app/arrangement/thorn checkout script
$(PERL) ./lib/sbin/checkout.pl
+# Create sysinfo file
+
+.PHONY sysinfo:
+
+sysinfo:
+ @echo $(DIVIDER)
+ @echo Please specify a configuration to run sysinfo with.
+ @echo $(DIVIDER)
+
+ifneq ($strip($(CONFIGURATIONS)),)
+.PHONY $(addsuffix -sysinfo,$(CONFIGURATIONS)):
+
+$(addsuffix -sysinfo,$(CONFIGURATIONS)):
+ @echo $(DIVIDER)
+ @echo Running SystemInfo
+ $(PERL) ./lib/sbin/SystemInfo.pl $(@:%-sysinfo=%)
+endif
+
# Make the users manuals