diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-01 01:43:44 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-01 01:43:44 +0000 |
commit | 3683ec9972b4e9933004a05bca33072e4b96203b (patch) | |
tree | d1feed4fda756add554fb1b71a56dfa4a628dc76 /Makefile | |
parent | db06e34844264ac145bbbb68c4368e798d5581f5 (diff) |
ensure that old modules warning does not occur when 'make install' is run directly after 'make clean'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5537 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -482,9 +482,6 @@ update: NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h)) OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) -NEWMODS=$(notdir $(wildcard */*.so)) -OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so))) - bininstall: all mkdir -p $(DESTDIR)$(MODULES_DIR) mkdir -p $(DESTDIR)$(ASTSBINDIR) @@ -547,6 +544,12 @@ bininstall: all @echo " + **Note** This requires that you have +" @echo " + doxygen installed on your local system +" @echo " +-------------------------------------------+" + @$(MAKE) -s oldmodcheck + +NEWMODS=$(notdir $(wildcard */*.so)) +OLDMODS=$(filter-out $(NEWMODS),$(notdir $(wildcard $(DESTDIR)$(MODULES_DIR)/*.so))) + +oldmodcheck: @if [ -n "$(OLDMODS)" ]; then \ echo " WARNING WARNING WARNING" ;\ echo "" ;\ |