File: Makefile.am

package info (click to toggle)
liberasurecode 1.6.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,632 kB
  • sloc: ansic: 9,185; makefile: 189; sh: 76
file content (36 lines) | stat: -rw-r--r-- 737 bytes parent folder | download | duplicates (5)
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
DOC_MODULE=@PACKAGE@
HTML_DIR=$(datadir)/$(DOC_MODULE)/html
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)

all-local:	html/index.html

if ENABLE_DOXYGEN
html/index.html: doxygen.cfg
	doxygen doxygen.cfg
else
html/index.html:
endif

clean-local:
	rm -f *~ *.bak
	rm -rf html

install-data-local: html
	$(top_srcdir)/install-sh -d $(DESTDIR)$(TARGET_DIR)
	(installfiles=`echo html/*`; \
	if test "$$installfiles" = 'html/*'; \
	then echo '-- Nothing to install' ; \
	else \
		for i in $$installfiles; do \
			echo '-- Installing '$$i ; \
			$(top_srcdir)/install-sh $$i $(DESTDIR)$(TARGET_DIR); \
		done; \
	fi)

dist-hook:
	mkdir $(distdir)/html
	mkdir $(distdir)/man
	-cp html/* $(distdir)/html
	-cp man/* $(distdir)/man

.PHONY : html latex man