[Fwd: Some typos, improvements]

Brecht Vermeulen brecht.vermeulen at rug.ac.be
Wed Nov 14 17:28:36 EST 2001


Hi all,

I'm working with the CVS version of 24-10-01 and have some minor remarks
:

* in the delayshaper.hh file: the '=c' is missing in the comments, so
the man page is not generated

* it would be interesting (at least for me :-) ) to have an option in
the click-buildtool which turns of the dependency check so that all
elements are mentioned (e.g. to have an overview of *all* elements and
generate info for them, e.g. for our GUI).
I have attached a little patch which is a fast hack which does this.

regards,
Brecht
-------------- next part --------------
*** click-buildtool.orig	Wed Nov 14 16:45:51 2001
--- click-buildtool	Wed Nov 14 17:17:57 2001
***************
*** 40,45 ****
--- 40,46 ----
  findelements () {
      prefix=""
      all=0
+     nodependencies=0
      provisions=""
      filenames=""
      standards=''
***************
*** 72,77 ****
--- 73,80 ----
      --pro=*|--prov=*|--provi=*|--provid=*|--provide=*)
  	provisions=`echo "$1" | sed 's/^[^=]*=//'`"
  $provisions"; shift 1;;
+     -n|--no-check)
+ 	nodependencies=1; shift 1;;
      -h|--h|--he|--hel|--help)
  	cat <<'EOF' 1>&2
  `Click-buildtool findelem' locates valid Click element source code. It starts
***************
*** 91,96 ****
--- 94,100 ----
    -V, --verbose              Print more information about dependency checking.
    -p, --prefix PREFIX        Preprend PREFIX to every file and/or directory.
    -r, --provide REQ          Mark requirement(s) REQ as available.
+   -n, --no-check             Don't check dependencies
    -S, --standards            Mark standard elements as available.
    -f, --filenames            Output filenames only.
    -F, --filename-pairs       Output "sourcefile:headerfile" pairs for elements.
***************
*** 181,186 ****
--- 185,193 ----
  	    echo "Files: $files" 1>&2
  	    echo
  	    echo "Bad files: $bad_files" 1>&2
+ 	fi
+ 	if test $nodependencies = 1; then 
+ 	    break
  	fi
  	if test -z "$new_bad_files"; then
  	    break


More information about the click mailing list