mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 18:13:45 +00:00
Let's have build.h created a bit earlier so that func_version can use it and not stop the build on a fresh machine that has never had Asterisk installed on it before...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
9
Makefile
9
Makefile
@@ -332,6 +332,13 @@ include/asterisk/buildopts.h: menuselect.makeopts
|
||||
fi
|
||||
@rm -f $@.tmp
|
||||
|
||||
include/asterisk/build.h:
|
||||
@build_tools/make_build_h > $@.tmp
|
||||
@if cmp -s $@.tmp $@ ; then : ; else \
|
||||
mv $@.tmp $@ ; \
|
||||
fi
|
||||
@rm -f $@.tmp
|
||||
|
||||
$(SUBDIRS_CLEAN_DEPEND):
|
||||
@$(MAKE) --no-print-directory -C $(@:-clean-depend=) clean-depend
|
||||
|
||||
@@ -624,7 +631,7 @@ $(MOD_SUBDIRS_DEPEND):
|
||||
$(OTHER_SUBDIRS_DEPEND):
|
||||
@ASTCFLAGS="$(OTHER_SUBDIR_CFLAGS) $(ASTCFLAGS)" $(MAKE) --no-print-directory -C $(@:-depend=) depend
|
||||
|
||||
depend: include/asterisk/version.h include/asterisk/buildopts.h defaults.h $(SUBDIRS_DEPEND)
|
||||
depend: include/asterisk/version.h include/asterisk/buildopts.h include/asterisk/build.h defaults.h $(SUBDIRS_DEPEND)
|
||||
|
||||
sounds:
|
||||
$(MAKE) -C sounds all
|
||||
|
||||
Reference in New Issue
Block a user