1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 14:55:55 +02:00

gnu: asymptote: Fix info file location.

* gnu/packages/plotutils.scm (asymptote): Fix info file location so it appears
  in the top-level directory.
This commit is contained in:
Nicolas Goaziou
2019-04-04 19:49:38 +02:00
parent 985730c1af
commit 55a604db4e
+8
View File
@@ -230,6 +230,14 @@ colors, styles, options and details.")
(substitute* (find-files "." "\\.in$")
(("#include <primitives.h>") "#include \"primitives.h\""))
(invoke "touch" "prc/config.h")))
(add-after 'unpack 'move-info-location
;; Build process install info file in the unusual
;; "%out/share/info/asymptote/" location. Move it to
;; "%out/share/info/" so it appears in the top-level directory.
(lambda _
(substitute* "doc/png/Makefile.in"
(("(\\$\\(infodir\\))/asymptote" _ infodir) infodir))
#t))
(add-before 'build 'patch-pdf-viewer
(lambda _
;; Default to a free pdf viewer.