[packages] watchcat: small makefile fix
authorNuno Goncalves <nunojpg@gmail.com>
Sun, 19 Dec 2010 01:11:15 +0000 (01:11 +0000)
committerNuno Goncalves <nunojpg@gmail.com>
Sun, 19 Dec 2010 01:11:15 +0000 (01:11 +0000)
SVN-Revision: 24695

utils/watchcat/Makefile

index 1c68251..faf0091 100644 (file)
@@ -32,8 +32,10 @@ define Build/Compile
 endef
 
 define Package/watchcat/install
-       $(CP) ./files/initd_watchcat $(1)/etc/init.d/watchcat
-       $(CP) ./files/uci_defaults_watchcat $(1)/etc/defaults/50-watchcat
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/initd_watchcat $(1)/etc/init.d/watchcat
+       $(INSTALL_DIR) $(1)/etc/init.d  
+       $(INSTALL_BIN) ./files/uci_defaults_watchcat $(1)/etc/defaults/50-watchcat
 endef
 
 $(eval $(call BuildPackage,watchcat))