Sync'd with the HEAD branch again. unlabeled-3.18.8
authorcls%seawood.org
Tue, 21 Sep 1999 19:43:27 +0000
branchunlabeled-3.18.8
changeset 819 e0d51fbd3ba9
parent 765 6da88b9e5d19
push idunknown
push userunknown
push dateunknown
Sync'd with the HEAD branch again.
pr/include/md/Makefile
--- a/pr/include/md/Makefile
+++ b/pr/include/md/Makefile
@@ -149,26 +149,24 @@ endif
 
 export:: $(MDCPUCFG_H)
 	$(INSTALL) -m 444 $(MDCPUCFG_H) $(DIST)/include
 ifeq ($(MOZ_BITS),16)
 	cp $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
 	$(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
 	@echo "Copying machine-dependent prcpucfg.h"
 	@if test -z "$(BUILD_NUMBER)"; then \
 		echo "BUILD_NUMBER must be defined"; \
 		false; \
 	fi