The attached patch replaces $(1) install by $(if $(1), $(1), install) in the definiti...
authorTravis Kemen <thepeople@openwrt.org>
Fri, 5 Mar 2010 20:19:48 +0000 (20:19 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Fri, 5 Mar 2010 20:19:48 +0000 (20:19 +0000)
commite09067b221cbea860a7d830dc84a259810f1501d
treee7bfcdde98978ff22f7f894e687fe498a4e2071f
parentcf7199f48b5ef5edbeca7b0d02e1c448c8e1785d
The attached patch replaces $(1) install by $(if $(1), $(1), install) in the definition, in order to be able to specify an install rule, which is not always called install (example: trunk/package/ncurses/Makefile has rules called install.libs and install.data).

Then its possible to do this in ncurses Makefile:

define Build/Install
       $(call Build/Install/Default, install.libs install.data)
endef

This patch does not affect anything else, as if no parameter is given,
it will use install as before.

-Raphael

SVN-Revision: 19996
include/package-defaults.mk