/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Robert Collins
  • Date: 2007-04-19 02:27:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2426.
  • Revision ID: robertc@robertcollins.net-20070419022744-pfdqz42kp1wizh43
``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        python tools/rst2prettyhtml.py doc/bazaar-vcs.org.kid doc/$*.txt \
63
63
        $(PRETTYDIR)/$*.htm
64
64
 
65
 
doc/bzr_man.txt: bzrlib/builtins.py \
 
65
MAN_DEPENDENCIES = bzrlib/builtins.py \
66
66
                 bzrlib/bundle/commands.py \
67
67
                 bzrlib/conflicts.py \
68
68
                 bzrlib/sign_my_commits.py \
69
69
                 generate_docs.py \
70
70
                 tools/doc_generate/__init__.py \
71
71
                 tools/doc_generate/autodoc_rstx.py
72
 
        python generate_docs.py -o doc/bzr_man.txt rstx
73
 
 
74
 
docs: $(htm_files) doc/HACKING.htm
 
72
 
 
73
doc/bzr_man.txt: $(MAN_DEPENDENCIES)
 
74
        python generate_docs.py -o $@ rstx
 
75
 
 
76
MAN_PAGES = man1/bzr.1
 
77
man1/bzr.1: $(MAN_DEPENDENCIES)
 
78
        python generate_docs.py -o $@ man
 
79
 
 
80
docs: $(htm_files) $(MAN_PAGES) doc/HACKING.htm
75
81
 
76
82
copy-docs: docs
77
83
        python tools/win32/ostools.py copytodir $(htm_files) doc/default.css NEWS README  win32_bzr.exe/doc
78
84
 
79
85
# clean produced docs
80
86
clean-docs:
81
 
        python tools/win32/ostools.py remove doc/bzr_man.txt $(htm_files) \
82
 
        $(HTMLDIR) $(PRETTYDIR)
 
87
        python tools/win32/ostools.py remove $(htm_files) \
 
88
        $(HTMLDIR) $(PRETTYDIR) doc/bzr_man.txt $(MAN_PAGES)
83
89
 
84
90
 
85
91
# make bzr.exe for win32 with py2exe