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

# The NSDL to LON-CAPA Gateway Server

# Scott Harrison
# $Id: Makefile,v 1.1 2002/05/05 03:16:00 harris41 Exp $

DISTPROBE=`perl ./distprobe`
DIST=$(DISTPROBE)
CATEGORY="development"
SOURCE=../..
TARGET=""
NORESTORECONF="0"
HOSTNAME=""
LAUNCH=| perl
OUTSTREAM=>
SAVE=program.pl.$(TIMESTAMP)
LAUNCHSAVE=$(OUTSTREAM) $(SAVE)
METAMTARGET=""
MTARGET=""
VERSION=0.1

help:
	@echo "*** You need to specify a valid target ***"
	@echo "NOTE: You can specify options to your Makefile target."
	@echo "(option) DIST can be redhat6, redhat7, debian2.2, or default"
	@echo "(option) CATEGORY can be runtime or development"
	@echo "(option) SOURCE is an absolute or relative directory path"
	@echo "(option) TARGET is an absolute or relative directory path"
	@echo "build: compile the CVS source tree"
	@echo "install: install from a compiled CVS source tree to a "
	@echo "         specified TARGET destination on the filesystem"
	@echo "test: test different parts of the LON-CAPA system (TEST_*)"
	@echo "TEST_lpml_scripts: make sure that the system can process "
	@echo "                   the Linux Packaging Markup Language"
	@echo "TEST_system_dependencies: make sure that all needed system "
	@echo "                          components are active and present "
	@echo "                          on the server such as perl modules"
	@echo "                          and the MySQL database"
	@echo "TEST_web_layer: mimic various web-based interactions with "
	@echo "                respect to the login and various system "
	@echo "                actions on the Gateway server"
	@echo "HTML: generate an HTML-formatted description of the "
	@echo "      NSDL to LON-CAPA Gateway Server CVS source files"
	@echo "doc: compiles documentation for the system administration of"
	@echo "     the gateway server"
	@echo "status: compare the TARGET filesystem with a compiled CVS "
	@echo "        source directory"
	@echo "statuspost: post the results of "make status" to "
	@echo "            TARGET/home/httpd/html/lon-status/filestatus.html"
	@echo "rpmstatus: compare the rpms on a system to defined lists "
	@echo "           CVS:doc/otherfiles/cd_rpms and "
	@echo "           CVS:doc/otherfiles/rpm_list.txt"
	@echo "rpmstatuspost: post the results of "make rpmstatus" to "
	@echo "            TARGET/home/httpd/html/lon-status/rpmstatus.html"
	@echo "tardist: build a tarball that will upgrade the software on a "
	@echo "         system"

build:
	@echo "Not yet implemented"

install:
	@echo "Not yet implemented"

test:
	@echo "Not yet implemented"

TEST_lpml_scripts:
	@echo "Not yet implemented"

TEST_system_dependencies:
	@echo "Not yet implemented"

TEST_web_layer:
	@echo "Not yet implemented"

HTML:
	@echo "Not yet implemented"

doc:
	@echo "Not yet implemented"

status:
	@echo "Not yet implemented"

statuspost:
	@echo "Not yet implemented"

tardist:
	@echo "Not yet implemented"



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