Expanded the RELEASE consistency checking, now all target architecture

RELEASE.* files are checked, so you can't fool the system.
This commit is contained in:
Andrew Johnson
2003-11-21 20:33:00 +00:00
parent 68975ee309
commit 3d5ab5cca5

View File

@@ -47,9 +47,21 @@ $(buildDirs):
O.Common:
$(MKDIR) O.Common
checkRelease: $(wildcard $(TOP)/configure/RELEASE*)
#
# RELEASE consistency checking
# The RELEASE.$(EPICS_HOST_ARCH) files don't need to be included here:
targetReleaseFiles = $(wildcard $(foreach arch, $(BUILD_ARCHS), \
$(TOP)/configure/RELEASE.Common.$(arch) \
$(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(arch)))
checkReleaseTargets = $(addprefix checkRelease, $(suffix $(targetReleaseFiles)))
checkRelease: $(checkReleaseTargets)
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) $@
$(checkReleaseTargets):checkRelease.%:
$(PERL) $(TOOLS)/convertRelease.pl -h $(EPICS_HOST_ARCH) -a $* checkRelease
#
# special clean rule
#
@@ -66,5 +78,5 @@ realclean ::
.PHONY : $(cleanArchTargets)
.PHONY : $(BUILD_ARCHS)
.PHONY : $(ACTIONS) clean realclean all
.PHONY : checkRelease
.PHONY : checkRelease $(checkReleaseTargets)