mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
Do not let packages remove man pages, info pages and documentation
The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -56,9 +56,6 @@ liblockfile-clean:
|
||||
rm -f $(TARGET_DIR)/usr/lib/liblockfile.so*
|
||||
rm -f $(STAGING_DIR)/usr/lib/liblockfile*
|
||||
rm -f $(addprefix $(STAGING_DIR)/usr/include/,lockfile.h mailfile.h)
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(STAGING_DIR)/usr/share/man
|
||||
endif
|
||||
-$(MAKE) -C $(LIBLOCKFILE_DIR) clean
|
||||
|
||||
liblockfile-dirclean:
|
||||
|
||||
Reference in New Issue
Block a user