diff options
author | Chris PeBenito <cpebenito@tresys.com> | 2006-11-13 03:36:13 +0000 |
---|---|---|
committer | Chris PeBenito <cpebenito@tresys.com> | 2006-11-13 03:36:13 +0000 |
commit | 59f8539306e0b0b0695c9bfba433ecc27145d5e8 (patch) | |
tree | 5684bbd9cb101df256ac84db71498c704dc0e574 /support | |
parent | ed38ca9f3dc668d73c609383361bae148746aa3c (diff) |
- Add a reload target to Modules.devel and change the load
target to only insert modules that were changed.
Diffstat (limited to 'support')
-rw-r--r-- | support/Makefile.devel | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/support/Makefile.devel b/support/Makefile.devel index 9c109eb6..595f7789 100644 --- a/support/Makefile.devel +++ b/support/Makefile.devel @@ -133,7 +133,7 @@ define peruser-expansion $(verbose) echo "')" >> $2 endef -.PHONY: clean all xml load +.PHONY: clean all xml load reload .SUFFIXES: .SUFFIXES: .pp # broken in make 3.81: @@ -154,9 +154,14 @@ xml: $(polxml) # load: tmp/loaded +tmp/loaded: $(all_packages) + @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $?))" + $(verbose) $(SEMODULE) $(foreach mod,$?,-i $(mod)) + @mkdir -p tmp + @touch tmp/loaded -tmp/loaded reload: $(all_packages) - @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $(all_packages)))" +reload: $(all_packages) + @$(EINFO) "Loading $(NAME) modules: $(basename $(notdir $^))" $(verbose) $(SEMODULE) $(foreach mod,$^,-i $(mod)) @mkdir -p tmp @touch tmp/loaded |