aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle <arnout@mind.be>2017-02-23 18:00:26 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-02 22:43:02 +0100
commit448730a2e44cbdb686b20d6b08beeedd16d1d6f1 (patch)
tree75e322a6d2682a513052182c423b18830bad146f
parent0be874d89ab5c238279a1f2e867ce67497099b30 (diff)
downloadbuildroot-448730a2e44cbdb686b20d6b08beeedd16d1d6f1.tar.gz
buildroot-448730a2e44cbdb686b20d6b08beeedd16d1d6f1.tar.bz2
manual: luarocks: improve tutorial example
The license file in a luarocks package is always inside the subdir, so the example should reflect this. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--docs/manual/adding-packages-luarocks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/adding-packages-luarocks.txt b/docs/manual/adding-packages-luarocks.txt
index c914238f0b..712c29e9a4 100644
--- a/docs/manual/adding-packages-luarocks.txt
+++ b/docs/manual/adding-packages-luarocks.txt
@@ -23,7 +23,7 @@ with an example :
10: LUAFOO_BUILD_OPTS += FOO_INCDIR=$(STAGING_DIR)/usr/include
11: LUAFOO_BUILD_OPTS += FOO_LIBDIR=$(STAGING_DIR)/usr/lib
12: LUAFOO_LICENSE = luaFoo license
-13: LUAFOO_LICENSE_FILES = COPYING
+13: LUAFOO_LICENSE_FILES = $(LUAFOO_SUBDIR)/COPYING
14:
15: $(eval $(luarocks-package))
------------------------