texi: clean after Texinfo manuals in $(SUBDIRS) directories correctly
authorJim Meyering <jim@meyering.net>
Sat, 30 Jun 2012 11:53:37 +0000 (13:53 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 30 Jun 2012 15:17:43 +0000 (17:17 +0200)
Fixes the regression exposed by previous commit 'v1.12.1-165-g498492f'.

* automake.in (handle_texinfo_helper): Add $infobase.{t2d,t2p}
to @mostly_cleans, but *without* the '$relative_dir/' prefix.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in

index 11e750d5ac251f251a48f48a2bb9e970bacea034..be7787026c6b6b27fe9c7e16da260f7e168df71a 100644 (file)
@@ -3166,8 +3166,8 @@ sub handle_texinfo_helper ($)
        or next;
       # Directory of auxiliary files and build by-products used by texi2dvi
       # and texi2pdf.
-      push @mostly_cleans, "$relative_dir/$infobase.t2d";
-      push @mostly_cleans, "$relative_dir/$infobase.t2p";
+      push @mostly_cleans, "$infobase.t2d";
+      push @mostly_cleans, "$infobase.t2p";
 
       # If the Texinfo source is in a subdirectory, create the
       # resulting info in this subdirectory.  If it is in the current