diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-01 15:41:33 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-01 15:42:37 +0400 |
commit | d8809b357c5ee3a760262b17bc7f97ecb876cb96 (patch) | |
tree | 7c2a0fb918f6d1cf1a971597600d90c585ff1996 /doc/Makefile | |
parent | 67d7ea9825f6c3dfae5323c5252dbc602acddd1d (diff) | |
parent | f4ca970dba13a60a1334cce1b574036e6f624b9c (diff) |
Merge commit 'f4ca970dba13a60a1334cce1b574036e6f624b9c'
* commit 'f4ca970dba13a60a1334cce1b574036e6f624b9c':
configure: Add docdir configuration option
Conflicts:
configure
doc/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile index cd24b8c597..8452ce3e12 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -91,7 +91,11 @@ doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) install-man: ifdef CONFIG_MANPAGES -install-progs-$(CONFIG_DOC): install-man +install-progs-$(CONFIG_DOC): install-doc install-man + +install-doc: $(HTMLPAGES) + $(Q)mkdir -p "$(DOCDIR)" + $(INSTALL) -m 644 $(HTMLPAGES) "$(DOCDIR)" install-man: $(MANPAGES) $(Q)mkdir -p "$(MANDIR)/man1" @@ -100,7 +104,10 @@ install-man: $(MANPAGES) $(INSTALL) -m 644 $(MANPAGES3) "$(MANDIR)/man3" endif -uninstall: uninstall-man +uninstall: uninstall-doc uninstall-man + +uninstall-doc: + $(RM) -r "$(DOCDIR)" uninstall-man: $(RM) $(addprefix "$(MANDIR)/man1/",$(MANPAGES1)) |