graph: Install JavaScript files.
authorLudovic Courtès <ludo@gnu.org>
Mon, 4 Jan 2021 21:10:49 +0000 (22:10 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 4 Jan 2021 22:54:16 +0000 (23:54 +0100)
commit10612d61540228d48c998ba5b56f50da22534157
tree7ac40f6a244fbd9e95bcbb94330b5d8c6d22965c
parentfa42774742fb1ddcb9f9424d8150d26f4033d426
graph: Install JavaScript files.

Until now, 'guix graph --backend=d3js' wouldn't work outside the build
tree.

* d3.v3.js: Move to...
* guix/d3.v3.js: ... here.
* graph.js: Move to...
* guix/graph.js: ... here.
* Makefile.am (nobase_dist_guilemodule_DATA): Add them.
(EXTRA_DIST): Remove them.
* guix/graph.scm (emit-d3js-prologue, emit-d3js-epilogue): Adjust
'search-path' argument accordingly.
* guix/self.scm (compiled-guix)[*extra-modules*]: Pass them via #:extra-files.
Makefile.am
guix/d3.v3.js [moved from d3.v3.js with 100% similarity]
guix/graph.js [moved from graph.js with 100% similarity]
guix/graph.scm
guix/self.scm