package: Remove shell completion at finalize stage
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 12 Jul 2015 15:25:57 +0000 (17:25 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 12 Jul 2015 19:55:14 +0000 (21:55 +0200)
commit76d1c729f09db5ecc514ae0520f9a53c353e0401
treec5669cd1690045caa8e04c298f4b338de0afc43a
parent470cd0dcada5c2df8c84d89dba1077ad74d1e599
package: Remove shell completion at finalize stage

Instead of doing a removal of the completion file package per package,
do it all at the finalize stage so it's done once and for all.

Note: This fixes an issue with systemd where passing a --bashcompletiondir
or --zshcompletiondir would be evaluated to '.' by the autotools macro.
This would create a 'target./' directory.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
package/kmod/kmod.mk
package/systemd/systemd.mk
package/util-linux/util-linux.mk