diff options
author | Matthew Johnson <mjj29@hecate.matthew.ath.cx> | 2008-06-22 21:44:41 +0100 |
---|---|---|
committer | Matthew Johnson <mjj29@hecate.matthew.ath.cx> | 2008-06-22 21:44:41 +0100 |
commit | 2ea1e13a2cd3a22587d0fc9f9f5785b77009a792 (patch) | |
tree | ebea14ff2c41d865f99f1cb640886e2a27167c09 | |
parent | 8701b17fdb6465b64c86b070f51cce00cc1155a1 (diff) |
Author: Omair Majid <omajid@redhat.com>
Date: Fri Jun 20 12:41:49 2008 -0400
added JAVADOCPREFIX to allow overriding the installation
location of javadocs when doing make install
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -33,6 +33,8 @@ JARPREFIX?=$(PREFIX)/share/java BINPREFIX?=$(PREFIX)/bin DOCPREFIX?=$(PREFIX)/share/doc/libdbus-java MANPREFIX?=$(PREFIX)/share/man/man1 +# allows overriding the javadoc install location from command line +JAVADOCPREFIX?=$(DOCPREFIX) # Installation directory of the java-unix libraries JAVAUNIXLIBDIR?=/usr/lib/jni @@ -271,8 +273,8 @@ install-doc: doc install -d $(DESTDIR)$(DOCPREFIX)/dbus-java install -m 644 doc/dbus-java/*.html $(DESTDIR)$(DOCPREFIX)/dbus-java install -m 644 doc/dbus-java/*.css $(DESTDIR)$(DOCPREFIX)/dbus-java - install -d $(DESTDIR)$(DOCPREFIX)/api - cp -a doc/api/* $(DESTDIR)$(DOCPREFIX)/api + install -d $(DESTDIR)$(JAVADOCPREFIX)/api + cp -a doc/api/* $(DESTDIR)$(JAVADOCPREFIX)/api dist: .dist .dist: $(DISTFILES) |