summaryrefslogtreecommitdiff
path: root/package/libungif
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 17:11:51 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 19:24:58 +0200
commit90710e0c228c29a9e871db331dd84524c9e510ea (patch)
tree92c251e1c07bbcb4c908e653fdcda1a0b1921f7d /package/libungif
parent28025091919e3e0dfb99a39e9f6afde46764b8ab (diff)
libungif: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libungif')
-rw-r--r--package/libungif/libungif.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libungif/libungif.mk b/package/libungif/libungif.mk
index 466a72c23..d8dc814e4 100644
--- a/package/libungif/libungif.mk
+++ b/package/libungif/libungif.mk
@@ -17,8 +17,10 @@ LIBUNGIF_BINS = gif2epsn gif2ps gif2rgb gif2x11 gifasm gifbg gifburst gifclip \
gifrsize gifspnge giftext gifwedge icon2gif raw2gif rgb2gif \
text2gif
-$(eval $(call AUTOTARGETS,package,libungif))
-
-$(LIBUNGIF_HOOK_POST_INSTALL):
+define LIBUNGIF_BINS_CLEANUP
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBUNGIF_BINS))
- touch $@
+endef
+
+LIBUNGIF_POST_INSTALL_TARGET_HOOKS += LIBUNGIF_BINS_CLEANUP
+
+$(eval $(call AUTOTARGETS,package,libungif))