diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/pkgdefs/Makefile.targ | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/src/pkgdefs/Makefile.targ b/usr/src/pkgdefs/Makefile.targ index da1fbc61d2..99bbc2c3b0 100644 --- a/usr/src/pkgdefs/Makefile.targ +++ b/usr/src/pkgdefs/Makefile.targ @@ -52,26 +52,26 @@ $(CHKINSTALL): $(PKGDEFS)/common_files/$(CHKINSTALLSRC) # that will only be evaluated for the intended failure # case. # -# The three "${TRUE}" macros cover the situations where SCM_TYPE +# The three "$(TRUE)" macros cover the situations where SCM_TYPE # is not set (""), or it's set by nightly.sh for a tarball source # tree ("none"), or it's set by bldenv for a tarball source tree # ("unknown"). # -NOT_UNDER_=${TRUE} -NOT_UNDER_none=${TRUE} -NOT_UNDER_unknown=${TRUE} +NOT_UNDER_=$(TRUE) +NOT_UNDER_none=$(TRUE) +NOT_UNDER_unknown=$(TRUE) NOT_UNDER_mercurial= \ ( hg locate --include . $@ > /dev/null ; [ $$? != 0 ] ) NOT_UNDER_teamware=[ ! -f SCCS/s.$@ ] -NOT_UNDER_SCM=${NOT_UNDER_${SCM_TYPE}} +NOT_UNDER_SCM=$(NOT_UNDER_$(SCM_TYPE)) copyright: $(BUILDPKGCR) $(LICENSEFILES) - @${NOT_UNDER_SCM} || ( $(ECHO) "generated copyright file" \ + @$(NOT_UNDER_SCM) || ( $(ECHO) "generated copyright file" \ "should not be under SCM">&2 && false ) @$(DO_BUILDPKGCR) $(DATAFILES): $(PKGDEFS)/common_files/$$@ - @${NOT_UNDER_SCM} || \ + @$(NOT_UNDER_SCM) || \ ( $(ECHO) "DATAFILES list is incorrect for $@">&2 && false ) $(RM) $@; cp $(PKGDEFS)/common_files/$@ $@ |