The attached patch replaces $(1) install by $(if $(1), $(1),
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Mar 2010 20:19:48 +0000 (20:19 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 5 Mar 2010 20:19:48 +0000 (20:19 +0000)
commitf7aa72ae435885a8f5d5ad4c9b149c20a1e36c0d
tree05c3f7fea83b0f4a1bb557a90c6f6146602fc387
parent2b2bbce3918dda8a4a22f9d983ce554f2f9655c7
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19996 3c298f89-4303-0410-b956-a3cf2f4a3e73
include/package-defaults.mk