projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace lots of manual install commands with INSTALL_* variables
[openwrt/svn-archive/archive.git]
/
net
/
vnstat
/
Makefile
diff --git
a/net/vnstat/Makefile
b/net/vnstat/Makefile
index 7051b5be7836c8accccf767c7281f708d77674d3..786bb5d9d1f13ebd182c4ab08afc1c016431a14f 100644
(file)
--- a/
net/vnstat/Makefile
+++ b/
net/vnstat/Makefile
@@
-40,8
+40,8
@@
define Build/Compile
endef
define Package/vnstat/install
endef
define Package/vnstat/install
-
install -d -m0755
$(1)/usr/bin
-
install -m0755
$(PKG_BUILD_DIR)/src/vnstat $(1)/usr/bin/
+
$(INSTALL_DIR)
$(1)/usr/bin
+
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/src/vnstat $(1)/usr/bin/
endef
$(eval $(call BuildPackage,vnstat))
endef
$(eval $(call BuildPackage,vnstat))