Rev 2823: (mbp) update Makefile: remove old check-msgeditor; better rules for tags and TAGS in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Sep 14 09:25:53 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2823
revision-id: pqm at pqm.ubuntu.com-20070914082550-j9aknobh4x00qksk
parent: pqm at pqm.ubuntu.com-20070914043128-s7ck70bf5bzefbiq
parent: mbp at sourcefrog.net-20070914063128-0p7mh6zfb4pzdg9p
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2007-09-14 09:25:50 +0100
message:
  (mbp) update Makefile: remove old check-msgeditor; better rules for tags and TAGS
modified:
  .bzrignore                     bzrignore-20050311232317-81f7b71efa2db11a
  Makefile                       Makefile-20050805140406-d96e3498bb61c5bb
    ------------------------------------------------------------
    revno: 2625.11.3
    merged: mbp at sourcefrog.net-20070914063128-0p7mh6zfb4pzdg9p
    parent: mbp at sourcefrog.net-20070914032655-fpq0pfpja4kesuij
    parent: pqm at pqm.ubuntu.com-20070914043128-s7ck70bf5bzefbiq
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: makefile-cleanup
    timestamp: Fri 2007-09-14 16:31:28 +1000
    message:
      merge trunk
    ------------------------------------------------------------
    revno: 2625.11.2
    merged: mbp at sourcefrog.net-20070914032655-fpq0pfpja4kesuij
    parent: mbp at sourcefrog.net-20070914025956-pz4klu0csp7m43jb
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: makefile-cleanup
    timestamp: Fri 2007-09-14 13:26:55 +1000
    message:
      Put back better rules for building ctags
    ------------------------------------------------------------
    revno: 2625.11.1
    merged: mbp at sourcefrog.net-20070914025956-pz4klu0csp7m43jb
    parent: pqm at pqm.ubuntu.com-20070717180333-5smmeduk2q3sbzvw
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: build
    timestamp: Fri 2007-09-14 12:59:56 +1000
    message:
      (trivial) Remove obsolete Makefile targets
=== modified file '.bzrignore'
--- a/.bzrignore	2007-08-10 07:43:06 +0000
+++ b/.bzrignore	2007-09-14 06:31:28 +0000
@@ -19,6 +19,7 @@
 [#]*#
 .#*
 ./tags
+./TAGS
 # The shelf plugin uses this dir
 ./.shelf
 # Mac droppings

=== modified file 'Makefile'
--- a/Makefile	2007-08-28 01:49:28 +0000
+++ b/Makefile	2007-09-14 06:31:28 +0000
@@ -33,10 +33,10 @@
 	@echo "Running all tests with no locale."
 	LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -1v $(tests) 2>&1 | sed -e 's/^/[ascii] /'
 
-check-msgeditor:
-	./bzr --no-plugins selftest -v msgeditor
-
 # Run Python style checker (apt-get install pyflakes)
+#
+# Note that at present this gives many false warnings, because it doesn't
+# know about identifiers loaded through lazy_import.
 pyflakes:
 	pyflakes bzrlib
 
@@ -58,11 +58,15 @@
 check-api-docs:
 	PYTHONPATH=$(PWD) python tools/bzr_epydoc --check --docformat 'restructuredtext en' $(docfiles)
 
-# build emacs cross-reference
-tag_files=./bzr ./bzrlib/*py ./bzrlib/selftest/*.py
-TAGS: $(tag_files)
-	ctags-exuberant -e $(tag_files)
-
+# build tags for emacs and vim
+TAGS:
+	ctags -R -e bzrlib
+
+tags:
+	ctags -R bzrlib
+
+# these are treated as phony so they'll always be rebuilt - it's pretty quick
+.PHONY: TAGS tags
 
 ### Documentation ###
 




More information about the bazaar-commits mailing list