]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
manual: luarocks: improve tutorial example
authorArnout Vandecappelle <arnout@mind.be>
Thu, 23 Feb 2017 17:00:26 +0000 (18:00 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 2 Mar 2017 21:43:02 +0000 (22:43 +0100)
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>
docs/manual/adding-packages-luarocks.txt

index c914238f0bf04101a62ce47bb72b8aeb469e6776..712c29e9a41c496677a52cdcb81474c0ad90f5d9 100644 (file)
@@ -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))
 ------------------------