Set no-native-compile to t in *.el files for Emacs 28
Tatsuya Kinoshita
3 years ago
23 | 23 | dh_installdirs |
24 | 24 | |
25 | 25 | cp emacs/*.el debian/mhc/usr/share/mhc |
26 | for f in debian/mhc/usr/share/mhc/*.el; do \ | |
27 | if [ -f "$$f" ]; then \ | |
28 | perl -pi -e 'if ($$. == 1) { if (!/^;/) { s/^/;;; -*--*-\n/ } elsif (!/-\*-/) { s/$$/ -*--*-/ }; s/-\*-/-*- no-native-compile: t;/ }' "$$f"; \ | |
29 | fi; \ | |
30 | done | |
26 | 31 | cp icons/*.xbm debian/mhc/usr/share/pixmaps/mhc/xbm |
27 | 32 | cp icons/*.xpm debian/mhc/usr/share/pixmaps/mhc |
28 | 33 |