package: rename <pkg>_CONFIG_FIXUP to <pkg>_CONFIG_SCRIPTS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Feb 2013 12:35:03 +0000 (12:35 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 8 Feb 2013 21:31:49 +0000 (22:31 +0100)
commit4705347ddfeaab3953cd86df2c7309b31b719f50
treed8364623d22225027d3044f1a9764bcb5ef12f84
parent80e47a533bed9745f56379e45e4ec136a1590697
package: rename <pkg>_CONFIG_FIXUP to <pkg>_CONFIG_SCRIPTS

This commit renames the newly introduced <pkg>_CONFIG_FIXUP variable
to <pkg>_CONFIG_SCRIPTS, for two reasons:

 * <pkg>_CONFIG_SCRIPTS will not only "fixup" the scripts in
   $(STAGING_DIR)/usr/bin, but also remove them from
   $(TARGET_DIR)/usr/bin. So it is not only about doing a "fixup".

 * On the principle, it is strange that the variable carries an
   indication of the action that will take place on those files. It
   should rather be named to say "Here are the <foo>-config scripts",
   and let the package infrastructure decide if it should fix them up,
   remove them, etc.

This commit also updates the documentation accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
docs/manual/adding-packages-generic.txt
package/libpcap/libpcap.mk
package/pkg-generic.mk