pkg-perl: add per package upgrade target
authorFrancois Perrad <fperrad@gmail.com>
Thu, 11 Oct 2018 16:12:48 +0000 (18:12 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 23 Oct 2018 23:45:41 +0000 (00:45 +0100)
commite04289beaad8f3620f5702a4841a4867b973b677
treec629240302d691c74910a37c14487ef26f58baff
parent11cae5b1ae8307e4b473f18451b8d12249a048d7
pkg-perl: add per package upgrade target

If PKG_DISTNAME is defined, an addition pkg-upgrade target is created
that will run scancpan with the right parameters for re-generating the
package.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout:
  - make it really private to pkg-perl;
  - factor away the host/target condition, instead use $(4) directly.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pkg-perl.mk