Rev 2482: Move HACKING to docs/developers/HACKING and adjust Makefile to accomodate this. in file:///home/robertc/source/baz/roadmap/

Robert Collins robertc at robertcollins.net
Mon May 7 17:48:21 BST 2007


At file:///home/robertc/source/baz/roadmap/

------------------------------------------------------------
revno: 2482
revision-id: robertc at robertcollins.net-20070507164814-wpagonutf4b5cf8s
parent: pqm at pqm.ubuntu.com-20070504034556-wzcw478l7qkppkq0
committer: Robert Collins <robertc at robertcollins.net>
branch nick: roadmap
timestamp: Tue 2007-05-08 02:48:14 +1000
message:
  Move HACKING to docs/developers/HACKING and adjust Makefile to accomodate this.
added:
  doc/developers/                docdevelopers-20070507164002-62r0es2b29myxges-1
renamed:
  HACKING => doc/developers/HACKING HACKING-20050805200004-2a5dc975d870f78c
modified:
  Makefile                       Makefile-20050805140406-d96e3498bb61c5bb
=== added directory 'doc/developers'
=== renamed file 'HACKING' => 'doc/developers/HACKING'
=== modified file 'Makefile'
--- a/Makefile	2007-04-30 18:42:34 +0000
+++ b/Makefile	2007-05-07 16:48:14 +0000
@@ -83,8 +83,8 @@
 
 pretty_files: $(patsubst doc/%.txt, $(PRETTYDIR)/%.htm, $(txt_files))
 
-doc/HACKING.htm: HACKING
-	python tools/rst2html.py --link-stylesheet --stylesheet=default.css HACKING doc/HACKING.htm
+doc/developers/HACKING.htm: doc/developers/HACKING
+	python tools/rst2html.py --link-stylesheet --stylesheet=default.css $< $@
 
 doc/%.htm: doc/%.txt 
 	python tools/rst2html.py --link-stylesheet --stylesheet=default.css doc/$*.txt doc/$*.htm
@@ -108,7 +108,8 @@
 man1/bzr.1: $(MAN_DEPENDENCIES)
 	python generate_docs.py -o $@ man
 
-docs: $(htm_files) $(MAN_PAGES) doc/HACKING.htm
+ALL_DOCS = $(htm_files) $(MAN_PAGES) doc/developers/HACKING.htm
+docs: $(ALL_DOCS)
 
 copy-docs: docs
 	python tools/win32/ostools.py copytodir $(htm_files) \
@@ -117,8 +118,8 @@
 
 # clean produced docs
 clean-docs:
-	python tools/win32/ostools.py remove $(htm_files) \
-	$(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt $(MAN_PAGES)
+	python tools/win32/ostools.py remove $(ALL_DOCS) \
+	$(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt
 
 
 # make bzr.exe for win32 with py2exe



More information about the bazaar-commits mailing list