mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 207614: fixed the way prcpucfg.h is created on OpenVMS so that its
modified time doesn't get updated whenever we do "gmake export".
This commit is contained in:
parent
03098d0886
commit
c3f7b1f643
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user