aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5976691b052f0bc5609dbb1d19516476e90b8265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# guix-qa-frontpage
#
# Copyright © 2022 Christopher Baines <mail@cbaines.net>
#
# This file is part of guix-qa-frontpage.
#
# guix-qa-frontpage is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# guix-qa-frontpage is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the guix-qa-frontpage.  If not, see
# <http://www.gnu.org/licenses/>.

include guile.am

bin_SCRIPTS =							\
  scripts/guix-qa-frontpage

moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
godir  = $(prefix)/lib/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache
assetsdir = $(datadir)/@PACKAGE@

SOURCES =									\
  guix-qa-frontpage/utils.scm							\
  guix-qa-frontpage/server.scm							\
  guix-qa-frontpage/database.scm						\
  guix-qa-frontpage/patchwork.scm						\
  guix-qa-frontpage/guix-data-service.scm					\
  guix-qa-frontpage/package.scm						\
  guix-qa-frontpage/branch.scm							\
  guix-qa-frontpage/issue.scm							\
  guix-qa-frontpage/mumi.scm							\
  guix-qa-frontpage/reproducible-builds.scm					\
  guix-qa-frontpage/debbugs.scm						\
  guix-qa-frontpage/derivation-changes.scm					\
  guix-qa-frontpage/manage-builds.scm						\
  guix-qa-frontpage/manage-patch-branches.scm					\
  guix-qa-frontpage/git-repository.scm						\
  guix-qa-frontpage/view/util.scm						\
  guix-qa-frontpage/view/home.scm						\
  guix-qa-frontpage/view/package.scm						\
  guix-qa-frontpage/view/branches.scm						\
  guix-qa-frontpage/view/patches.scm						\
  guix-qa-frontpage/view/branch.scm						\
  guix-qa-frontpage/view/shared.scm						\
  guix-qa-frontpage/view/reproducible-builds.scm				\
  guix-qa-frontpage/view/issue.scm

README.html: README.org
	emacs -q --no-splash -batch -visit README.org \
		-eval "(progn (require 'org) (let ((org-export-htmlize-output-type 'css)) (org-html-export-to-html nil nil nil t nil)))"

qa-information-flow.png: qa-information-flow.plantuml
	plantuml -v qa-information-flow.plantuml

install-data-local: README.html qa-information-flow.png
	mkdir -p "$(DESTDIR)$(pkgdatadir)" || exit 1;
	cp -r assets "$(DESTDIR)$(pkgdatadir)/" || exit 1;
	mkdir -p "$(DESTDIR)$(docdir)";
	cp README.org "$(DESTDIR)$(docdir)/README.org"
	cp README.html "$(DESTDIR)$(docdir)/README.html"
	cp qa-information-flow.plantuml qa-information-flow.png "$(DESTDIR)$(docdir)"