perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/util make_etags
Date Tue, 02 Jan 2001 20:35:47 GMT
dougm       01/01/02 12:35:47

  Modified:    .        .cvsignore Makefile.PL
               src/modules/perl .cvsignore
  Added:       util     make_etags
  Log:
  update "make etags"
  
  Revision  Changes    Path
  1.3       +1 -0      modperl-2.0/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/.cvsignore,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- .cvsignore	2001/01/02 19:48:40	1.2
  +++ .cvsignore	2001/01/02 20:35:40	1.3
  @@ -2,3 +2,4 @@
   blib
   pm_to_blib
   scraps
  +diff.txt
  
  
  
  1.23      +1 -1      modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Makefile.PL	2001/01/02 20:20:00	1.22
  +++ Makefile.PL	2001/01/02 20:35:41	1.23
  @@ -155,7 +155,7 @@
       $string .= <<'EOF';
   
   etags:
  -	@(cd $(MODPERL_SRC) && find . -name '*.[ch]' | etags -L -);
  +	$(SHELL) util/make_etags
   
   modperl_lib:
   	@(cd $(MODPERL_SRC) && $(MAKE));
  
  
  
  1.5       +1 -0      modperl-2.0/src/modules/perl/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/.cvsignore,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- .cvsignore	2000/04/21 19:43:37	1.4
  +++ .cvsignore	2001/01/02 20:35:44	1.5
  @@ -11,3 +11,4 @@
   *.o
   *.a
   *.so
  +TAGS
  
  
  
  1.1                  modperl-2.0/util/make_etags
  
  Index: make_etags
  ===================================================================
  search=".. ../.."
  for dir in $search; do
      if test -d "`pwd`/$dir/modperl-2.0"; then
  	root="`pwd`/$dir"
  	echo "root=$root"
      fi
  done
  
  #e.g. symlink to $HOME/perl/perl-current
  #XXX: perl has its own (more robust) TAGS generator: emacs/ptags
  perl_src=$root/perl/
  #XXX: apache has its own: build/MakeEtags
  apache_src=$root/httpd-2.0/
  modperl_src=$root/modperl-2.0/src/
  
  rm -f src/modules/perl/etag_files
  
  for dir in $apache_src $modperl_src $perl_src; do
      echo $dir
      find $dir -follow -name '*.[ch]' >> src/modules/perl/etag_files
  done
  
  (cd src/modules/perl && etags -L etag_files)
  
  rm -f src/modules/perl/etag_files
  
  

Mime
View raw message