~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Robert Collins
  • Date: 2007-05-07 16:48:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2485.
  • Revision ID: robertc@robertcollins.net-20070507164814-wpagonutf4b5cf8s
Move HACKING to docs/developers/HACKING and adjust Makefile to accomodate this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
pretty_files: $(patsubst doc/%.txt, $(PRETTYDIR)/%.htm, $(txt_files))
85
85
 
86
 
doc/HACKING.htm: HACKING
87
 
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css HACKING doc/HACKING.htm
 
86
doc/developers/HACKING.htm: doc/developers/HACKING
 
87
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css $< $@
88
88
 
89
89
doc/%.htm: doc/%.txt 
90
90
        python tools/rst2html.py --link-stylesheet --stylesheet=default.css doc/$*.txt doc/$*.htm
108
108
man1/bzr.1: $(MAN_DEPENDENCIES)
109
109
        python generate_docs.py -o $@ man
110
110
 
111
 
docs: $(htm_files) $(MAN_PAGES) doc/HACKING.htm
 
111
ALL_DOCS = $(htm_files) $(MAN_PAGES) doc/developers/HACKING.htm
 
112
docs: $(ALL_DOCS)
112
113
 
113
114
copy-docs: docs
114
115
        python tools/win32/ostools.py copytodir $(htm_files) \
117
118
 
118
119
# clean produced docs
119
120
clean-docs:
120
 
        python tools/win32/ostools.py remove $(htm_files) \
121
 
        $(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt $(MAN_PAGES)
 
121
        python tools/win32/ostools.py remove $(ALL_DOCS) \
 
122
        $(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt
122
123
 
123
124
 
124
125
# make bzr.exe for win32 with py2exe