summaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-10 23:21:08 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-10 23:21:08 +0000
commite7359513bec031e2a0d5c38fa8e9b5fd3cd2ab40 (patch)
tree46458d5373f4ac7119266918faf3a90d3c7aacda /include/package.mk
parente9437d222f86a8960af081199fbef41312c7770b (diff)
rebuild ipkg control files if Makefile changes
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4124 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package.mk b/include/package.mk
index 618c3c555..7aea314ab 100644
--- a/include/package.mk
+++ b/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