From: Mike Baker Date: Mon, 10 Jul 2006 23:21:08 +0000 (+0000) Subject: rebuild ipkg control files if Makefile changes X-Git-Tag: kamikaze_7.06~1495^2~425 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ddf3a0c11135924be3ffd3d40cb6484c5ca1651a;p=openwrt%2Fsvn-archive%2Fopenwrt.git rebuild ipkg control files if Makefile changes SVN-Revision: 4124 --- diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 618c3c5553..7aea314abc 100644 --- a/openwrt/include/package.mk +++ b/openwrt/include/package.mk @@ -173,7 +173,7 @@ define BuildPackage $(eval $(call BuildIPKGVariable,$(1),postinst)) $(eval $(call BuildIPKGVariable,$(1),prerm)) $(eval $(call BuildIPKGVariable,$(1),postrm)) - $$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared + $$(IDIR_$(1))/CONTROL/control: Makefile $(PKG_BUILD_DIR)/.prepared mkdir -p $$(IDIR_$(1))/CONTROL echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control