X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7a34af038528fca2e3f99218f79161b7851ca059..b1560446471c2d5ab7b0ff4fd494794cfa23c8f7:/openwrt/package/motion/Makefile diff --git a/openwrt/package/motion/Makefile b/openwrt/package/motion/Makefile index 578d35be1..1cc30398e 100644 --- a/openwrt/package/motion/Makefile +++ b/openwrt/package/motion/Makefile @@ -35,15 +35,15 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ - install_prefix="$(PKG_INSTALL_DIR)" \ + DESTDIR="$(PKG_INSTALL_DIR)" \ all install touch $@ -$(IPKG_FOO): - install -d -m0755 $(IDIR_FOO)/usr/sbin - $(CP) $(PKG_INSTALL_DIR)/usr/sbin/motion $(IDIR_FOO)/usr/sbin - $(RSTRIP) $(IDIR_FOO) - $(IPKG_BUILD) $(IDIR_FOO) $(PACKAGE_DIR) +$(IPKG_MOTION): + install -d -m0755 $(IDIR_MOTION)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/motion $(IDIR_MOTION)/usr/bin + $(RSTRIP) $(IDIR_MOTION) + $(IPKG_BUILD) $(IDIR_MOTION) $(PACKAGE_DIR) mostlyclean: make -C $(PKG_BUILD_DIR) clean