Browse Source

add make dep shortcut

now you can use make dep menu menuconfig, if you change any
PKG_DEPENDS or PKG_BUILDDEPS
Waldemar Brodkorb 14 years ago
parent
commit
40e385e848
2 changed files with 8 additions and 1 deletions
  1. 4 0
      Makefile
  2. 4 1
      mk/build.mk

+ 4 - 0
Makefile

@@ -62,6 +62,7 @@ pkg-help:
 
 dev-help:
 	@echo 'Regenerate menu information via "make menu"'
+	@echo 'Regenerate dependency information via "make dep"'
 	@echo
 	@echo 'Fast way of updating package patches:'
 	@echo '  run "make package=<pkgname> clean" to start with a good base'
@@ -146,6 +147,9 @@ bulk: .prereq_done
 menu: .prereq_done
 	@${GMAKE_INV} menu
 
+dep: .prereq_done
+	@${GMAKE_INV} dep
+
 world: .prereq_done
 	@${GMAKE_INV} world
 

+ 4 - 1
mk/build.mk

@@ -423,4 +423,7 @@ bulk:
 	mksh $(TOPDIR)/package/pkgmaker
 	@:>.menu
 
-.PHONY: menu
+dep:
+	mksh $(TOPDIR)/package/depmaker
+
+.PHONY: menu dep