File:  [LON-CAPA] / nsdl / build / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Sun May 5 03:16:00 2002 UTC (21 years, 11 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
BUG 340
FIXED
this is a skeleton outline of Makefile targets which parallels the Makefile
strategy of LON-CAPA

    1: # The NSDL to LON-CAPA Gateway Server
    2: 
    3: # Scott Harrison
    4: # $Id: Makefile,v 1.1 2002/05/05 03:16:00 harris41 Exp $
    5: 
    6: DISTPROBE=`perl ./distprobe`
    7: DIST=$(DISTPROBE)
    8: CATEGORY="development"
    9: SOURCE=../..
   10: TARGET=""
   11: NORESTORECONF="0"
   12: HOSTNAME=""
   13: LAUNCH=| perl
   14: OUTSTREAM=>
   15: SAVE=program.pl.$(TIMESTAMP)
   16: LAUNCHSAVE=$(OUTSTREAM) $(SAVE)
   17: METAMTARGET=""
   18: MTARGET=""
   19: VERSION=0.1
   20: 
   21: help:
   22: 	@echo "*** You need to specify a valid target ***"
   23: 	@echo "NOTE: You can specify options to your Makefile target."
   24: 	@echo "(option) DIST can be redhat6, redhat7, debian2.2, or default"
   25: 	@echo "(option) CATEGORY can be runtime or development"
   26: 	@echo "(option) SOURCE is an absolute or relative directory path"
   27: 	@echo "(option) TARGET is an absolute or relative directory path"
   28: 	@echo "build: compile the CVS source tree"
   29: 	@echo "install: install from a compiled CVS source tree to a "
   30: 	@echo "         specified TARGET destination on the filesystem"
   31: 	@echo "test: test different parts of the LON-CAPA system (TEST_*)"
   32: 	@echo "TEST_lpml_scripts: make sure that the system can process "
   33: 	@echo "                   the Linux Packaging Markup Language"
   34: 	@echo "TEST_system_dependencies: make sure that all needed system "
   35: 	@echo "                          components are active and present "
   36: 	@echo "                          on the server such as perl modules"
   37: 	@echo "                          and the MySQL database"
   38: 	@echo "TEST_web_layer: mimic various web-based interactions with "
   39: 	@echo "                respect to the login and various system "
   40: 	@echo "                actions on the Gateway server"
   41: 	@echo "HTML: generate an HTML-formatted description of the "
   42: 	@echo "      NSDL to LON-CAPA Gateway Server CVS source files"
   43: 	@echo "doc: compiles documentation for the system administration of"
   44: 	@echo "     the gateway server"
   45: 	@echo "status: compare the TARGET filesystem with a compiled CVS "
   46: 	@echo "        source directory"
   47: 	@echo "statuspost: post the results of "make status" to "
   48: 	@echo "            TARGET/home/httpd/html/lon-status/filestatus.html"
   49: 	@echo "rpmstatus: compare the rpms on a system to defined lists "
   50: 	@echo "           CVS:doc/otherfiles/cd_rpms and "
   51: 	@echo "           CVS:doc/otherfiles/rpm_list.txt"
   52: 	@echo "rpmstatuspost: post the results of "make rpmstatus" to "
   53: 	@echo "            TARGET/home/httpd/html/lon-status/rpmstatus.html"
   54: 	@echo "tardist: build a tarball that will upgrade the software on a "
   55: 	@echo "         system"
   56: 
   57: build:
   58: 	@echo "Not yet implemented"
   59: 
   60: install:
   61: 	@echo "Not yet implemented"
   62: 
   63: test:
   64: 	@echo "Not yet implemented"
   65: 
   66: TEST_lpml_scripts:
   67: 	@echo "Not yet implemented"
   68: 
   69: TEST_system_dependencies:
   70: 	@echo "Not yet implemented"
   71: 
   72: TEST_web_layer:
   73: 	@echo "Not yet implemented"
   74: 
   75: HTML:
   76: 	@echo "Not yet implemented"
   77: 
   78: doc:
   79: 	@echo "Not yet implemented"
   80: 
   81: status:
   82: 	@echo "Not yet implemented"
   83: 
   84: statuspost:
   85: 	@echo "Not yet implemented"
   86: 
   87: tardist:
   88: 	@echo "Not yet implemented"
   89: 
   90: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>