File: Makefile.am

package info (click to toggle)
libbash 0.9.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 776 kB
  • sloc: sh: 1,402; makefile: 53
file content (27 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (3)
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
AUTOMAKE_OPTIONS = -Wno-portability

.PHONY: all clean

EXTRA_DIST = $(wildcard *.dox) $(wildcard *.in) 

# Adding `-' to make rules in order to ignore errors
clean:
	rm -rf html 

distclean: clean
	rm -rf Doxyfile main_page.dox Makefile

all: Doxyfile main_page.dox docs

# Old of versions of doxygen do not generate html correctly, if
# html dir already contains output of previous run.
# That's why we delete it first.
docs: clean 
	$(DOXYGEN)
	
install: all
	test X"$(DOXYGEN)" = "X" || \
	install -d $(DESTDIR)$(datadir)/doc/$(PACKAGE)
	test X"$(DOXYGEN)" = "X" || \
	cp -rf html $(DESTDIR)$(datadir)/doc/$(PACKAGE)