diff options
-rw-r--r-- | pr/include/md/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pr/include/md/Makefile.in b/pr/include/md/Makefile.in index 99c1c3c0..70d0b1a6 100644 --- a/pr/include/md/Makefile.in +++ b/pr/include/md/Makefile.in @@ -160,7 +160,12 @@ export:: #$(MDCPUCFG_H) # $(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL) # mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h #else - cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h + @if cmp -s $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; then \ + echo $(DIST)/include/prcpucfg.h unchanged; \ + else \ + echo cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \ + cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \ + fi #endif ifeq ($(OS_ARCH),OpenVMS) # mv'ing a link causes the file itself to move, not the link, so fix it. |