Update of /cvsroot/openfirst/www/htdocs/nightly
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9302/www/htdocs/nightly
Added Files:
Makefile
Log Message:
Simple makefile to wrap package.py (do `make help` for usage)
--- NEW FILE: Makefile ---
# To add a module, add it to this line
modules := openfirst.awards openfirst.modules
mprefix := openfirst.
$(modules) :
./package.py $@-nightly $(subst $(mprefix),,$@)
# This is always enabled
openfirst.base :
./package.py openfirst.base-nightly base
#Psuedo-target to display help
.SILENT : help
modtext=$(foreach m,$(modules),$(shell echo "'$m',"))
help :
echo "Packages openFIRST modules using package.py"
echo "Targets:"
echo " all - Packages all modules, in addition to the main and sdk"
echo " packages"
echo " main - Packages the primary modules (currently openfirst.base"
echo " and openfirst.awards)"
echo " sdk - Packages the openFIRST SDK (currently openfirst.modules)"
echo " help - Displays this message"
echo "In addition, you may use the modules $(modtext) and 'openfirst.base' as targets."
echo "WARNING: Using main or sdk is EXTREMELY inefficient."
# Modules part of the standard distribution should go here
main :
./package.py main-nightly base awards
# Modules part of the SDK go here
sdk :
./package.py sdk-nightly modules
all : main sdk openfirst.base $(modules)
clean :
rm -f pkg/*.tar.gz
rm -f pkg/*.tar.bz
rm -f pkg/*.zip
.PHONY : all help main sdk openfirst.base $(modules)
|