aboutsummaryrefslogtreecommitdiff
path: root/doxygen/Makefile
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 18:31:27 -0400
committerTaylor Holberton <taylorcholberton@gmail.com>2016-10-01 18:31:27 -0400
commitd950fb69f2d5df782a95bc9470f24168e2995218 (patch)
treecdcb359a90f812b494cb274457991511b4bdc3b8 /doxygen/Makefile
parenteb83807b559bc9c54b91ee09556c8329334e112a (diff)
added install target
Diffstat (limited to 'doxygen/Makefile')
-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
+