From 9490bdc53c8b3a5f820d864ea175d27d0f6c2bd3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Sep 2005 00:09:40 +0000 Subject: [PATCH] add a libpng-dirclean target and alias png to libpng --- package/libpng/libpng.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk index 0944ddf862..0a332c8250 100644 --- a/package/libpng/libpng.mk +++ b/package/libpng/libpng.mk @@ -64,10 +64,14 @@ $(TARGET_DIR)/usr/lib/libpng.so: $(STAGING_DIR)/lib/libpng.so cp -dpf $(STAGING_DIR)/lib/libpng.so* $(TARGET_DIR)/usr/lib/ -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libpng.so -libpng: uclibc zlib $(TARGET_DIR)/usr/lib/libpng.so +png libpng: uclibc zlib $(TARGET_DIR)/usr/lib/libpng.so libpng-clean: -$(MAKE) -C $(LIBPNG_DIR) clean + +libpng-dirclean: + rm -rf $(LIBPNG_DIR) + ############################################################# # # Toplevel Makefile options