diff options
author | wtc%netscape.com <devnull@localhost> | 2003-06-06 21:30:55 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-06-06 21:30:55 +0000 |
commit | 68de9d8f40d566a7d92c762fd1fa192e79b6faee (patch) | |
tree | b8805a0e26eda14bc720fb2e953eeaf035d38e1b | |
parent | 4cc1e6c7c6033c985d7981105ae4c849af8dde4a (diff) | |
download | nspr-hg-68de9d8f40d566a7d92c762fd1fa192e79b6faee.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.in | 10 |
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 |