summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2003-06-06 21:30:55 +0000
committerwtc%netscape.com <devnull@localhost>2003-06-06 21:30:55 +0000
commit68de9d8f40d566a7d92c762fd1fa192e79b6faee (patch)
treeb8805a0e26eda14bc720fb2e953eeaf035d38e1b
parent4cc1e6c7c6033c985d7981105ae4c849af8dde4a (diff)
downloadnspr-hg-CFM_LAST_RITES.tar.gz
Bug 207614: fixed the way prcpucfg.h is created on OpenVMS so that itsCFM_LAST_RITES
modified time doesn't get updated whenever we do "gmake export". Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/include/md/Makefile.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/pr/include/md/Makefile.in b/pr/include/md/Makefile.in
index 680e8d12..5f8f0f71 100644
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -46,9 +46,17 @@ CONFIGS = $(wildcard $(srcdir)/*.cfg)
include $(topsrcdir)/config/rules.mk
export:: $(MDCPUCFG_H)
- $(INSTALL) -m 444 $(srcdir)/$(MDCPUCFG_H) $(dist_includedir)
$(INSTALL) -m 444 $(CONFIGS) $(HEADERS) $(dist_includedir)/md
+ $(INSTALL) -m 444 $(srcdir)/$(MDCPUCFG_H) $(dist_includedir)
+ifeq ($(OS_ARCH),OpenVMS)
+# On OpenVMS mv updates the file's modified time, so we create a hard link.
+ cd $(dist_includedir); \
+ if test ! -f prcpucfg.h; then \
+ dcl set file /enter=prcpucfg.h $(MDCPUCFG_H); \
+ fi
+else
mv -f $(dist_includedir)/$(MDCPUCFG_H) $(dist_includedir)/prcpucfg.h
+endif
real_install::
$(NSINSTALL) -D $(DESTDIR)$(includedir)/md