aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doxygen/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/doxygen/Makefile b/doxygen/Makefile
index e4ab6ce..01d38bf 100644
--- a/doxygen/Makefile
+++ b/doxygen/Makefile
@@ -1,3 +1,6 @@
+DESTDIR ?=
+PREFIX ?= /usr/local
+
DOXYGEN ?= doxygen
DOXYGENFLAGS =
@@ -5,3 +8,13 @@ DOXYGENFLAGS =
all:
$(DOXYGEN) $(DOXYGENFLAGS)
+.PHONY: clean
+clean:
+ rm -Rf html
+ rm -Rf man
+
+.PHONY: install
+install:
+ cp -u man/man3/tinyalsa-pcm.3 $(DESTDIR)$(PREFIX)/share/man/man3
+ cp -u man/man3/tinyalsa-mixer.3 $(DESTDIR)$(PREFIX)/share/man/man3
+