From: Jan T. <de...@us...> - 2002-05-03 14:05:01
|
Update of /cvsroot/net-script/netscript2 In directory usw-pr-cvs1:/tmp/cvs-serv12593 Modified Files: Makefile Makefile.files Log Message: * added error page * added config file * added directory for static content Index: Makefile =================================================================== RCS file: /cvsroot/net-script/netscript2/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile 10 Mar 2002 14:50:28 -0000 1.7 --- Makefile 3 May 2002 13:36:49 -0000 1.8 *************** *** 2,6 **** # $Id$ # NetScript - Makefile ! # (C) 2000-2001 by Jan Thomä, insOMnia #----------------------------------------------- include Makefile.files --- 2,6 ---- # $Id$ # NetScript - Makefile ! # (C) 2000-2002 by Jan Thomä, insOMnia #----------------------------------------------- include Makefile.files *************** *** 16,22 **** # Target for installing all perl files #---------------------------------------- ! install: $(TARGET_DIR) #$(foreach perlfile, $(Perl), cp $(perlfile) $(TARGET_DIR);) cp -r $(SOURCE_DIR)/* $(TARGET_DIR) chmod a+x $(TARGET_DIR)/*.pl $(foreach xmlfile, $(XML_Mappings), cp $(xmlfile) $(TARGET_DIR);) --- 16,23 ---- # Target for installing all perl files #---------------------------------------- ! install: $(TARGET_DIR) $(NODYN_TARGET_DIR) #$(foreach perlfile, $(Perl), cp $(perlfile) $(TARGET_DIR);) cp -r $(SOURCE_DIR)/* $(TARGET_DIR) + cp -r $(PAGE_DIR) $(NODYN_TARGET_DIR) chmod a+x $(TARGET_DIR)/*.pl $(foreach xmlfile, $(XML_Mappings), cp $(xmlfile) $(TARGET_DIR);) *************** *** 32,36 **** run_tests: tests ! cd $(TARGET_DIR); perl runtests.pl tests # Removes all files from the target directory and it's subdirectories --- 33,37 ---- run_tests: tests ! cd $(TARGET_DIR); perl runtests.pl tests # Removes all files from the target directory and it's subdirectories *************** *** 38,62 **** clean: -rm -rf $(TARGET_DIR)/* ! # This target creates the target directory ! #------------------------------------------- ! $(TARGET_DIR) $(TESTS_DIR): mkdir -p $@ #$(TOOLS_DIR): ! # mkdir -p $@ # This target creates the samples directory ! #------------------------------------------- $(SAMPLES_DIR): ! mkdir -p $(SAMPLES_DIR) $(foreach dir, $(SAMPLES_Tree), mkdir -p $(SAMPLES_DIR)/$(dir);) # This target creates the tools directory ! #------------------------------------------- $(TOOLS_DIR): ! mkdir -p $(TOOLS_DIR) $(foreach dir, $(TOOLS_Tree), mkdir -p $(TOOLS_DIR)/$(dir);) ! # Creates a package #------------------- --- 39,63 ---- clean: -rm -rf $(TARGET_DIR)/* ! # This target creates the target directory ! #------------------------------------------- ! $(TARGET_DIR) $(TESTS_DIR) $(NODYN_TARGET_DIR): mkdir -p $@ #$(TOOLS_DIR): ! # mkdir -p $@ # This target creates the samples directory ! #------------------------------------------- $(SAMPLES_DIR): ! mkdir -p $(SAMPLES_DIR) $(foreach dir, $(SAMPLES_Tree), mkdir -p $(SAMPLES_DIR)/$(dir);) # This target creates the tools directory ! #------------------------------------------- $(TOOLS_DIR): ! mkdir -p $(TOOLS_DIR) $(foreach dir, $(TOOLS_Tree), mkdir -p $(TOOLS_DIR)/$(dir);) ! # Creates a package #------------------- *************** *** 64,68 **** -rm -rf netscript_$(VERSION) mkdir netscript_$(VERSION) ! cp -r docs netscript_$(VERSION) cp -r src netscript_$(VERSION) -cp * netscript_$(VERSION) --- 65,69 ---- -rm -rf netscript_$(VERSION) mkdir netscript_$(VERSION) ! cp -r docs netscript_$(VERSION) cp -r src netscript_$(VERSION) -cp * netscript_$(VERSION) *************** *** 76,85 **** #--------------------------- docs_dom2: ! -rm -rf docs/xmldom2 ! perl -Isrc/tools src/tools/ipdoc.pl -d ./docs/xmldom2 -f src/perl/XML -t "XML::DOM2-Documentation" ! # Creates a package for DOM2 #--------------------------- ! package_dom2: docs_dom2 -rm -rf xmldom2_$(VERSION_DOM2) mkdir -p xmldom2_$(VERSION_DOM2)/XML/DOM2 --- 77,98 ---- #--------------------------- docs_dom2: ! -rm -rf docs/xmldom2 ! perl -Isrc/tools src/tools/ipdoc.pl -d ./docs/xmldom2 -f src/perl/XML -t "insOMnia DOM Level 2 Implementation" -desc ./src/perl/XML/DOM2/notes.txt ! ! # Creates docs for IPDoc ! #--------------------------- ! docs_ipdoc: ! -rm -rf docs/ipdoc/api ! perl -Isrc/tools src/tools/ipdoc.pl -d ./docs/ipdoc/api -f src/tools/IPdoc -t "The insOMnia Perl Documenting System - IPDoc" -desc ./docs/ipdoc/README.txt ! ! # Creates docs for NetScript ! #--------------------------- ! docs_netscript: ! -rm -rf docs/netscript/api ! perl -Isrc/tools src/tools/ipdoc.pl -d ./docs/netscript/api -f src/perl/NetScript -t "NetScript 2.0 Documentation" -desc ./docs/REQUIREMENTS ! # Creates a package for DOM2 #--------------------------- ! package_dom2: docs_dom2 -rm -rf xmldom2_$(VERSION_DOM2) mkdir -p xmldom2_$(VERSION_DOM2)/XML/DOM2 *************** *** 94,109 **** # Creates a package for IPdoc ! #---------------------------- ! package_ipdoc: -rm -rf ipdoc_$(VERSION_IPDOC) mkdir -p ipdoc_$(VERSION_IPDOC)/docs cp src/tools/ipdoc.pl ipdoc_$(VERSION_IPDOC) cp -r src/tools/IPdoc ipdoc_$(VERSION_IPDOC) ! cp -r docs/ipdoc ipdoc_$(VERSION_IPDOC) tar -czvf ipdoc_$(VERSION_IPDOC).tar.gz ipdoc_$(VERSION_IPDOC) rm -rf ipdoc_$(VERSION_IPDOC) -mkdir snapshots_ipdoc mv ipdoc_$(VERSION_IPDOC).tar.gz snapshots_ipdoc - - --- 107,124 ---- # Creates a package for IPdoc ! #---------------------------- ! package_ipdoc: docs_ipdoc -rm -rf ipdoc_$(VERSION_IPDOC) mkdir -p ipdoc_$(VERSION_IPDOC)/docs cp src/tools/ipdoc.pl ipdoc_$(VERSION_IPDOC) cp -r src/tools/IPdoc ipdoc_$(VERSION_IPDOC) ! cp -r docs/ipdoc/* ipdoc_$(VERSION_IPDOC)/docs ! rm -rf `find ipdoc_$(VERSION_IPDOC) -type d | grep CVS` tar -czvf ipdoc_$(VERSION_IPDOC).tar.gz ipdoc_$(VERSION_IPDOC) rm -rf ipdoc_$(VERSION_IPDOC) -mkdir snapshots_ipdoc mv ipdoc_$(VERSION_IPDOC).tar.gz snapshots_ipdoc + statistics: + wc -l `find . -name *.pm -o -name *.pl |grep -v "snapshots"` + Index: Makefile.files =================================================================== RCS file: /cvsroot/net-script/netscript2/Makefile.files,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile.files 10 Mar 2002 14:50:28 -0000 1.7 --- Makefile.files 3 May 2002 13:36:49 -0000 1.8 *************** *** 2,6 **** # $Id$ # NetScript - Makefile containing the files ! # (C) 2000-2001 by Jan Thomä, insOMnia #----------------------------------------------- --- 2,6 ---- # $Id$ # NetScript - Makefile containing the files ! # (C) 2000-2002 by Jan Thomä, insOMnia #----------------------------------------------- *************** *** 8,11 **** --- 8,14 ---- # fit your needs. + # This is the directory to install non dynamic-content to + NODYN_TARGET_DIR = $(HOME)/public_html/netscript2 + # This is the directory to install to TARGET_DIR = $(HOME)/public_html/cgi-bin/netscript2 *************** *** 26,29 **** --- 29,34 ---- TOOLS_SourceDir = src/tools SOURCE_DIR = src/perl + PAGE_DIR = src/pages + DOM2_DIR = $(SOURCE_DIR)/XML/DOM2 Perl = $(shell find -name "*.pl" -or -name "*.pm" |grep "src/") *************** *** 35,39 **** TOOLS_Tree = $(subst ./,,$(shell cd $(TOOLS_SourceDir);find ./ -type d | grep -v "CVS")) VERSION=2.0 ! VERSION_DOM2=0.1.3alpha ! VERSION_IPDOC=1.0 --- 40,44 ---- TOOLS_Tree = $(subst ./,,$(shell cd $(TOOLS_SourceDir);find ./ -type d | grep -v "CVS")) VERSION=2.0 ! VERSION_DOM2=0.1.5alpha ! VERSION_IPDOC=1.04 |