makeindex not given the full source filename FOO.idx

Bug #1133613 reported by Dan White
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rubber (Ubuntu)
New
Undecided
Unassigned

Bug Description

On the ubuntu 12.04.2 version, the file rubber/rules/latex/index.py incorrectly uses the input basename instead of the full FOO.idx (with extension) for the source file argument to "makeindex".

I cannot determine exactly when it was fixed, but it is correct in the trunk and for wheezy. The other packages, using "rubber_1.1-2.4*" have the same issue.

The fix is a one-line change to rules/latex/index.py at line 120:

--- /usr/share/rubber/rubber/rules/latex/index.py 2013-02-26 14:30:21.279436731 -0600
+++ _usr_share_rubber_rubber_rules_latex_index-fix.py 2013-02-26 14:05:35.780767468 -0600
@@ -117,7 +117,7 @@
                        cmd.extend(["-t", self.transcript])
                        if self.style:
                                cmd.extend(["-s", self.style])
- cmd.append(self.pbase)
+ cmd.append(self.source)
                        path_var = "INDEXSTYLE"

Tags: patch
Revision history for this message
Dan White (etihwnad) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "1line patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
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.