[packages] massive: use $(INSTALL_DIR) instead of 'mkdir -p' in install and InstallDev

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18816 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2009-12-18 11:06:19 +00:00
parent a85bdbd1bc
commit 1daf9469b7
92 changed files with 218 additions and 218 deletions

View File

@ -253,18 +253,18 @@ define Build/Compile
endef
define Package/openser/install
mkdir -p $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
$(CP) $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(1)/usr/sbin/openser_gen_ha1
$(CP) $(PKG_BUILD_DIR)/scripts/sc $(1)/usr/sbin/openserctl
chmod 744 $(1)/usr/sbin/openserctl
$(CP) $(PKG_BUILD_DIR)/scripts/sc.dbtext $(1)/usr/sbin/dbtextctl
chmod 744 $(1)/usr/sbin/dbtextctl
mkdir -p $(1)/usr/lib/openser/modules
$(INSTALL_DIR) $(1)/usr/lib/openser/modules
(cd $(PKG_BUILD_DIR);\
$(CP) $(OPENSER_MODULE_FILES) $(1)/usr/lib/openser/modules/; \
)
mkdir -p $(1)/etc/openser
$(INSTALL_DIR) $(1)/etc/openser
$(CP) $(PKG_BUILD_DIR)/etc/openser.cfg $(1)/etc/openser/
endef