summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-08-05 13:46:05 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-08-05 13:46:05 +0200
commitccc42efe227ab5b4ac23522f6bde879c164b5f66 (patch)
tree4bbde2ff5c053ff0f62ca17afca847aca54b0f18
parentb6718de1ecfbfadf6e96733ad7a22c9302f44e70 (diff)
libuuid: add -source and -clean targets
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/e2fsprogs/e2fsprogs.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index fbadfb066..3931548bf 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -151,7 +151,16 @@ e2fsprogs-clean:
e2fsprogs-dirclean:
rm -rf $(E2FSPROGS_DIR)
-libuuid-dirclean:: e2fsprogs-dirclean
+libuuid-clean:
+ -$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
+ -C $(LIBUUID_DIR) uninstall
+ # make uninstall misses the includes
+ rm -rf $(STAGING_DIR)/usr/include/uuid
+ rm -f $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)*
+ -$(MAKE1) -C $(LIBUUID_DIR) clean
+
+libuuid-source: e2fsprogs-source
+libuuid-dirclean: e2fsprogs-dirclean
#############################################################
#