зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
03098d0886
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче