summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1999-09-21 19:43:27 +0000
committercls%seawood.org <devnull@localhost>1999-09-21 19:43:27 +0000
commitb7e434d69db046da371fbc4165ad8aa9e34cfdc0 (patch)
tree34a564e3af1e6198c7f904c431e34491f7ec5d2f
parent626a32e584fffb4511c489882f503c3b1859bc02 (diff)
downloadnspr-hg-unlabeled-3.18.8.tar.gz
Sync'd with the HEAD branch again.unlabeled-3.18.8
-rw-r--r--pr/include/md/Makefile14
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