今日作ったもの

  • スライド
  • わりとどうでもいいパッチ
 --- make-package.orig	Tue Sep  2 00:45:41 2003
 +++ make-package	Mon Jan 19 00:01:44 2004
 @@ -192,6 +192,7 @@
  fi
 
 ### Find out which version of Emacs this is.
 +date=`date +%Y%m%d`
 shortversion=`grep 'defconst[	]*emacs-version' ../lisp/version.el \
	 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
 version=`grep 'defconst[	]*emacs-version' ../lisp/version.el \
 @@ -416,9 +417,9 @@
  hdiutil eject ${mountLoc}
  hdiutil resize ${builddir}/mac/EmacsRW.dmg -sectors min
  if test "$comp_diskimage" = "yes"; then
 -    hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDZO -imagekey zlib-level=2 -o ${srcdir}/mac/EmacsInstaller.dmg
 +    hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDZO -imagekey zlib-level=2 -o ${srcdir}/mac/Emacs-${compver}-${version}-${date}.dmg
  else
 -    hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDRO -o ${srcdir}/mac/EmacsInstaller.dmg
 +    hdiutil convert ${builddir}/mac/EmacsRW.dmg -format UDRO -o ${srcdir}/mac/Emacs-${version}-${compver}-${date}.dmg
  fi
  rm ${builddir}/mac/EmacsRW.dmg

と思ったらうまく張れなかったので手書きで当てたほうが早いという。ことに。