]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
tools: replace private DOCDIR with automake docdir
authorOlaf Hering <olaf@aepfle.de>
Mon, 11 May 2015 15:24:55 +0000 (15:24 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 21 May 2015 14:12:11 +0000 (15:12 +0100)
Reuse automake variable instead of inventing a private variable.

The result of this command:
 git grep -wnl DOCDIR | xargs sed -i 's@DOCDIR@docdir@g'

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Makefile

index 3e01aa688a4fc01e391cd02af9fceaf3621b9d1d..faa7c214761d8920212422337b9e19dae8f5d6f4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -469,8 +469,8 @@ install: $(STUBDOMPATH)
 endif
 
 install-readme:
-       $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
-       $(INSTALL_DATA) README $(DESTDIR)$(DOCDIR)/README.stubdom
+       $(INSTALL_DIR) $(DESTDIR)$(docdir)
+       $(INSTALL_DATA) README $(DESTDIR)$(docdir)/README.stubdom
 
 install-ioemu: ioemu-stubdom
        $(INSTALL_DIR) "$(DESTDIR)$(LIBEXEC_BIN)"