File: Makefile.am

package info (click to toggle)
hkl 5.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,992 kB
  • sloc: ansic: 57,080; haskell: 5,996; sh: 4,991; cpp: 1,846; makefile: 1,129; python: 925; xml: 76; lisp: 55
file content (29 lines) | stat: -rw-r--r-- 903 bytes parent folder | download | duplicates (2)
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 --no-site-file --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 --no-site-file --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 --no-site-file --load $(srcdir)/hkl-default.el -f org-publish-all --debug-init --kill

.PHONY: doc-edit doc-show