diff options
author | srinivas%netscape.com <devnull@localhost> | 1999-09-21 01:18:14 +0000 |
---|---|---|
committer | srinivas%netscape.com <devnull@localhost> | 1999-09-21 01:18:14 +0000 |
commit | e0ddacbcd393d2ca0c7567d78c3cbb93247ae765 (patch) | |
tree | f56811b88cc88816b53110d441c03d080553c135 | |
parent | f4dba54669f230493af072847a2fc3204c0e3169 (diff) | |
download | nspr-hg-e0ddacbcd393d2ca0c7567d78c3cbb93247ae765.tar.gz |
Use an absolute, instead of relative, filespec for OpenVMS. Checkin for
Colin Blake <colin@theblakes.com>.
-rw-r--r-- | pr/include/md/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pr/include/md/Makefile b/pr/include/md/Makefile index 2bfbbc29..3acaa418 100644 --- a/pr/include/md/Makefile +++ b/pr/include/md/Makefile @@ -154,16 +154,14 @@ ifeq ($(MOZ_BITS),16) $(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL) mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h else +ifneq ($(OS_ARCH),OpenVMS) mv -f $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h -endif -ifeq ($(OS_ARCH),OpenVMS) -# mv'ing a link causes the file itself to move, not the link, so fix it. +else +# mv'ing a link causes the file itself to move, not the link. rm -f $(DIST)/include/$(MDCPUCFG_H) - if [ ! -L $(DIST)/include/prcpucfg.h ]; then \ - mv -f $(DIST)/include/prcpucfg.h $(MDCPUCFG_H); \ - ln -fs ../../../nsprpub/pr/include/md/$(MDCPUCFG_H) \ - $(DIST)/include/prcpucfg.h; \ - fi + rm -f $(DIST)/include/prcpucfg.h + ln -fs `pwd`/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h +endif endif release:: export |