[packages] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev
[openwrt.org/packages.git] / libs / jpeg / Makefile
blob:a/libs/jpeg/Makefile -> blob:b/libs/jpeg/Makefile
--- a/libs/jpeg/Makefile
+++ b/libs/jpeg/Makefile
@@ -72,11 +72,11 @@
 endef
 
 define Build/InstallDev
-	mkdir -p $(1)/usr/include
+	$(INSTALL_DIR) $(1)/usr/include
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/jpeglib.h $(1)/usr/include/
 	$(CP) $(PKG_BUILD_DIR)/jpegint.h $(1)/usr/include/
 	$(CP) $(PKG_INSTALL_DIR)/usr/include/j{config,error,morecfg}.h $(1)/usr/include/
-	mkdir -p $(1)/usr/lib
+	$(INSTALL_DIR) $(1)/usr/lib
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(1)/usr/lib/
 endef
 

comments