Skip to content

Commit

Permalink
package-build--generate-info-files: Fix dir generation
Browse files Browse the repository at this point in the history
This no longer worked for an info file in a subdirectory.
  • Loading branch information
tarsius committed Sep 16, 2024
1 parent ac03f07 commit 379e38b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,8 @@ is the same as the value of `export_file_name'."
(or (member src orgs) (assoc src orgs))
src))
(texi (and (member ext '("texi" "texinfo")) src))
(info (and (equal ext "info") src)))
(info (and (equal ext "info")
(file-name-nondirectory src))))
(when org
(let ((default-directory (file-name-directory (expand-file-name org)))
(next (or (cadr (assoc src orgs))
Expand Down

0 comments on commit 379e38b

Please sign in to comment.