File:  [LON-CAPA] / loncom / build / Makefile
Revision 1.10: download - view: text, annotated - select for diffs
Thu Dec 14 18:38:37 2000 UTC (23 years, 4 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
debugging configinstall target; enforcing file ownerships and
permissions to compensate for activity of loncaparestoreconfiguration
script -Scott

: ----------------------------------------------------------------------

# Makefile
# For LON-CAPA
# Scott Harrison
# November 2000

all: 
	# nothing yet here

LON-CAPA-base:

cd: 

cd_cover:

system:

HTML:
	install -d HTML
	cp ../../doc/loncapafiles/*.gif HTML
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html HTML > HTML/index.html

status:
	install -d HTML
	cp ../../doc/loncapafiles/*.gif HTML
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html status > HTML/filestatus.html

LCMakefile:
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html LCMakefile > LCMakefile

SPEC:
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html SPEC

configinstall: 
	# there is a dependency on having directories in place, but oh well...
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html configinstall > Makefile.configinstall
	make -f Makefile.configinstall SOURCE="../.." TARGET="" configfiles
	perl loncaparestoreconfigurations lasttimestamp
	make -f Makefile.configinstall TARGET="" configpermissions

install: build
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html install > Makefile.install
	make -f Makefile.install SOURCE="../.." TARGET="" directories
	make -f Makefile.install SOURCE="../.." TARGET="" files
	make -f Makefile.install SOURCE="../.." TARGET="" links

build:
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html build > Makefile.build
	make -f Makefile.build all

RPM: BinaryRoot
	cat base_file_list.txt | perl make_rpm.pl base 3.1 '' '' BinaryRoot

BinaryRoot:
	perl parse.pl ../../doc/loncapafiles/loncapafiles.html BinaryRoot

clean:
	rm -Rf HTML
	rm -f *.spec
	rm -f LCMakefile
	rm -Rf BinaryRoot
	rm -f Makefile.BinaryRoot
	rm -f Makefile.build
	rm -f Makefile.install

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