Ignore:
Timestamp:
2006-11-23T01:29:07+01:00 (10 years ago)
Author:
nbd
Message:

replace lots of manual install commands with INSTALL_* variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/Makefile

    r5365 r5624  
    8585                $(MAKE) $(PKG_BUILD_DIR)/.built; \ 
    8686        fi 
    87         install -m0755 -d $$(1)/etc 
     87        $(INSTALL_DIR) $$(1)/etc 
    8888        install -m0600 $(PKG_BUILD_DIR)_$(2)/madwifi.conf $$(1)/etc/hostapd.conf 
    89         install -m0755 -d $$(1)/usr/sbin 
    90         install -m0755 $(PKG_BUILD_DIR)_$(2)/hostapd $$(1)/usr/sbin/ 
     89        $(INSTALL_DIR) $$(1)/usr/sbin 
     90        $(INSTALL_BIN) $(PKG_BUILD_DIR)_$(2)/hostapd $$(1)/usr/sbin/ 
    9191endef 
    9292 
     
    121121 
    122122define Package/hostapd-utils/install 
    123         install -m0755 -d $(1)/usr/sbin 
    124         install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(1)/usr/sbin/ 
     123        $(INSTALL_DIR) $(1)/usr/sbin 
     124        $(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd_cli $(1)/usr/sbin/ 
    125125endef 
    126126 
Note: See TracChangeset for help on using the changeset viewer.