move diag from target/linux/package/ to package/.
[openwrt.git] / package / dnsmasq / Makefile
index 76b1ac0d99012e92219ed4b245044fcdbcbdae0f..d3ce64736b7aa371eb16861cb7450cee4d3fd12c 100644 (file)
@@ -25,11 +25,11 @@ URL:=http://www.thekelleys.org.uk/dnsmasq/
 endef
 
 define Package/dnsmasq/install
-       install -m0755 -d $(IDIR_DNSMASQ)/usr/sbin
-       install -m0755 -d $(IDIR_DNSMASQ)/etc/init.d/
-       install -m0755 $(PKG_BUILD_DIR)/src/dnsmasq $(IDIR_DNSMASQ)/usr/sbin/
-       install -m0644 ./files/dnsmasq.conf $(IDIR_DNSMASQ)/etc/dnsmasq.conf
-       install -m0755 ./files/dnsmasq.init $(IDIR_DNSMASQ)/etc/init.d/S50dnsmasq
+       install -m0755 -d $(1)/usr/sbin
+       install -m0755 -d $(1)/etc/init.d/
+       install -m0755 $(PKG_BUILD_DIR)/src/dnsmasq $(1)/usr/sbin/
+       install -m0644 ./files/dnsmasq.conf $(1)/etc/dnsmasq.conf
+       install -m0755 ./files/dnsmasq.init $(1)/etc/init.d/S50dnsmasq
 endef
 
 $(eval $(call BuildPackage,dnsmasq))