File: Makefile.am

package info (click to toggle)
hkl 5.0.0.2456-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 37,696 kB
  • sloc: ansic: 25,256; python: 4,325; haskell: 3,794; cpp: 976; makefile: 700; sh: 179; perl: 133; xml: 90; lisp: 54
file content (29 lines) | stat: -rw-r--r-- 858 bytes parent folder | download
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
SUBDIRS=api figures sphinx

AM_LDFLAGS = $(top_builddir)/hkl/libhkl.la

dist_html_DATA=hkl.html

hkl.html: hkl.org $(srcdir)/hkl-default.el
	env GI_TYPELIB_PATH=$(top_builddir)/hkl \
	$(LIBTOOL) --mode=execute -dlopen $(AM_LDFLAGS) \
	$(EMACS) $< --batch -q --load $(srcdir)/hkl-default.el -f org-html-export-to-html --debug-init --kill

EXTRA_DIST=hkl-default.el css/style.css

CLEANFILES=hkl.html

doc-edit:
	env GI_TYPELIB_PATH=$(top_builddir)/hkl \
	$(LIBTOOL) --mode=execute -dlopen $(AM_LDFLAGS) \
	$(EMACS) hkl.org.in -q --load $(srcdir)/hkl-default.el

doc-show: hkl.html
	sensible-browser $(builddir)/hkl.html

doc-publish: hkl.html
	env GI_TYPELIB_PATH=$(top_builddir)/hkl \
	$(LIBTOOL) --mode=execute -dlopen $(AM_LDFLAGS) \
	$(EMACS) $< --batch -q --load $(srcdir)/hkl-default.el -f org-publish-all --debug-init --kill

.PHONY: doc-edit doc-show