aboutsummaryrefslogtreecommitdiff
path: root/doxygen/Makefile
blob: 5f8c5c0b69a688a6902599b524d0a04d22e7dee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESTDIR ?=
PREFIX ?= /usr/local
MANDIR ?= $(PREFIX)/share/man

DOXYGEN ?= doxygen
DOXYGENFLAGS =

.PHONY: all
all:
	$(DOXYGEN) $(DOXYGENFLAGS)

.PHONY: clean
clean:
	rm -Rf html
	rm -Rf man

.PHONY: install
install:
	mkdir -p $(DESTDIR)$(MANDIR)/man3
	cp -u man/man3/tinyalsa-pcm.3 $(DESTDIR)$(MANDIR)/man3
	cp -u man/man3/tinyalsa-mixer.3 $(DESTDIR)$(MANDIR)/man3