From: Philippe Proulx Date: Tue, 18 Nov 2014 14:29:39 +0000 (-0500) Subject: rapidjson: simplify install commands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc3f5258d214d435bbe4a4f5a76caba5977421be;p=buildroot.git rapidjson: simplify install commands Signed-off-by: Philippe Proulx Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/rapidjson/rapidjson.mk b/package/rapidjson/rapidjson.mk index ff516c4120..6658da25f1 100644 --- a/package/rapidjson/rapidjson.mk +++ b/package/rapidjson/rapidjson.mk @@ -12,18 +12,7 @@ RAPIDJSON_INSTALL_TARGET = NO RAPIDJSON_INSTALL_STAGING = YES define RAPIDJSON_INSTALL_STAGING_CMDS - $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson - $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/internal - $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/error - $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/msinttypes - $(INSTALL) -m 0644 $(@D)/include/rapidjson/*.h \ - $(STAGING_DIR)/usr/include/rapidjson - $(INSTALL) -m 0644 $(@D)/include/rapidjson/internal/*.h \ - $(STAGING_DIR)/usr/include/rapidjson/internal - $(INSTALL) -m 0644 $(@D)/include/rapidjson/error/*.h \ - $(STAGING_DIR)/usr/include/rapidjson/error - $(INSTALL) -m 0644 $(@D)/include/rapidjson/msinttypes/*.h \ - $(STAGING_DIR)/usr/include/rapidjson/msinttypes + cp -dpfr $(@D)/include/* $(STAGING_DIR)/usr/include endef $(eval $(generic-package))