recipe for target 'clean-sphinx' failed: doc/es *** No rule to make target 'clean'.

Bug #1540333 reported by Richard Wilbur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
In Progress
High
Richard Wilbur

Bug Description

Trying to rebuild documentation to test changes and can't `make clean-sphinx`.

Turns out the doc/??/Makefile 's are deduplicated by being copied from doc/en/Makefile--but only when you are building the documentation. So the clean rule doesn't work on a fresh install before you build documentation.

The fix is not hard: the clean-sphinx rule simply needs to list the Makefiles it wants to use as dependencies.

Related branches

Changed in bzr:
status: New → In Progress
Revision history for this message
Richard Wilbur (richard-wilbur) wrote :

Getting warning about circular dependency from doc/en/Makefile and doc/en/make.bat
The fix is to replace wildcard in rule targets (doc/%/Makefile, doc/%/make.bat) with a list made from doc/* directories excluding doc/en.

Vincent Ladeuil (vila)
Changed in bzr:
milestone: 2.7.0 → 2.8b1
Revision history for this message
Vincent Ladeuil (vila) wrote :

> Getting warning about circular dependency from doc/en/Makefile and doc/en/make.bat

> The fix is to replace wildcard in rule targets (doc/%/Makefile, doc/%/make.bat) with a list made from doc/* directories excluding doc/en.

Or may be have a better look at which targets we really care about in those makefiles (I'd bet we care about a small minority), get rid of the cruft and fixes will become way easier.

But, meh, you do the work so you decide how to do it ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.