From b7e434d69db046da371fbc4165ad8aa9e34cfdc0 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Tue, 21 Sep 1999 19:43:27 +0000 Subject: Sync'd with the HEAD branch again. --- pr/include/md/Makefile | 14 ++++++-------- 1 file 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 -- cgit v1.2.1