aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-10-15 16:56:07 -0400
committerGlenn Morris2012-10-15 16:56:07 -0400
commit1a9c683079f638f251eee7a17f9c6ae369d30ef7 (patch)
treebd01b62158a9304970409a1545bb0aac90b217f1
parent8599b23a90cf10e7308a59dbf9197d8e4c439ee2 (diff)
downloademacs-1a9c683079f638f251eee7a17f9c6ae369d30ef7.tar.gz
emacs-1a9c683079f638f251eee7a17f9c6ae369d30ef7.zip
Apply program-transform-name etc in more places (bug#12536#34)
* Makefile.in (install-man, install-etc): Apply $TRANSFORM. (clean): Delete etc/emacs.tmpdesktop. * .bzrignore: Add etc/emacs.tmpdesktop. * etc/NEWS: Mention this. Unrelated copyedits.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in20
-rw-r--r--etc/NEWS39
3 files changed, 45 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c839658429..0d45d3440c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12012-10-15 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (install-man, install-etc):
4 Apply $TRANSFORM. (Bug#12536#34)
5 (clean): Delete etc/emacs.tmpdesktop.
6
12012-10-11 Kenichi Handa <handa@gnu.org> 72012-10-11 Kenichi Handa <handa@gnu.org>
2 8
3 * .bzrignore: Add several files under admin/charsets. 9 * .bzrignore: Add several files under admin/charsets.
diff --git a/Makefile.in b/Makefile.in
index 571013e3244..95f851b0ada 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -622,18 +622,24 @@ install-man:
622 thisdir=`/bin/pwd`; \ 622 thisdir=`/bin/pwd`; \
623 cd ${mansrcdir}; \ 623 cd ${mansrcdir}; \
624 for page in *.1; do \ 624 for page in *.1; do \
625 dest=`echo "$${page}" | sed '$(TRANSFORM)'`; \
625 (cd $${thisdir}; \ 626 (cd $${thisdir}; \
626 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${page}); \ 627 ${INSTALL_DATA} ${mansrcdir}/$${page} $(DESTDIR)${man1dir}/$${dest}); \
627 ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \ 628 ( [ -n "${GZIP_INFO}" ] && [ -n "${GZIP_PROG}" ] ) || continue ; \
628 rm -f $(DESTDIR)${man1dir}/$${page}.gz; \ 629 rm -f $(DESTDIR)${man1dir}/$${dest}.gz; \
629 ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${page}; \ 630 ${GZIP_PROG} -9n $(DESTDIR)${man1dir}/$${dest}; \
630 done 631 done
631 632
632## Install those items from etc/ that need to end up elsewhere. 633## Install those items from etc/ that need to end up elsewhere.
633install-etc: 634install-etc:
634 umask 022; ${MKDIR_P} $(DESTDIR)${desktopdir} 635 umask 022; ${MKDIR_P} $(DESTDIR)${desktopdir}
635 ${INSTALL_DATA} ${srcdir}/etc/emacs.desktop \ 636 dest=`echo emacs | sed '$(TRANSFORM)'`; \
636 $(DESTDIR)${desktopdir}/emacs.desktop 637 tmp=etc/emacs.tmpdesktop; rm -f $${tmp}; \
638 sed -e "/^Exec=emacs/ s/emacs/$${dest}/" \
639 -e "/^Icon=emacs/ s/emacs/$${dest}/" \
640 ${srcdir}/etc/emacs.desktop > $${tmp}; \
641 ${INSTALL_DATA} $${tmp} $(DESTDIR)${desktopdir}/$${dest}.desktop; \
642 rm -f $${tmp}
637 thisdir=`/bin/pwd`; \ 643 thisdir=`/bin/pwd`; \
638 cd ${iconsrcdir} || exit 1; umask 022 ; \ 644 cd ${iconsrcdir} || exit 1; umask 022 ; \
639 for dir in */*/apps */*/mimetypes; do \ 645 for dir in */*/apps */*/mimetypes; do \
@@ -641,8 +647,9 @@ install-etc:
641 ( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \ 647 ( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \
642 for icon in $${dir}/*.*; do \ 648 for icon in $${dir}/*.*; do \
643 [ -r $${icon} ] || continue ; \ 649 [ -r $${icon} ] || continue ; \
650 dest=`echo "$${icon}" | sed '$(TRANSFORM)'` ; \
644 ( cd $${thisdir}; \ 651 ( cd $${thisdir}; \
645 ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${icon} ) \ 652 ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dest} ) \
646 || exit 1; \ 653 || exit 1; \
647 done ; \ 654 done ; \
648 done 655 done
@@ -729,6 +736,7 @@ mostlyclean: FRC
729### 736###
730### Delete `.dvi' files here if they are not part of the distribution. 737### Delete `.dvi' files here if they are not part of the distribution.
731clean: FRC 738clean: FRC
739 -rm -f etc/emacs.tmpdesktop
732 (cd src; $(MAKE) $(MFLAGS) clean) 740 (cd src; $(MAKE) $(MFLAGS) clean)
733 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) 741 (cd oldXMenu; $(MAKE) $(MFLAGS) clean)
734 (cd lwlib; $(MAKE) $(MFLAGS) clean) 742 (cd lwlib; $(MAKE) $(MFLAGS) clean)
diff --git a/etc/NEWS b/etc/NEWS
index 5a310d8f82c..337dfc31aff 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -47,7 +47,7 @@ no warnings; on older and on non-GNU systems the generated warnings
47may be useful. 47may be useful.
48 48
49--- 49---
50** The configuration option '--enable-use-lisp-union-type' has been 50** The configure option '--enable-use-lisp-union-type' has been
51renamed to '--enable-check-lisp-object-type', as the resulting 51renamed to '--enable-check-lisp-object-type', as the resulting
52Lisp_Object type no longer uses a union to implement the compile time 52Lisp_Object type no longer uses a union to implement the compile time
53check that this option enables. 53check that this option enables.
@@ -62,6 +62,12 @@ overwriting "emacs" in the installation bin/ directory with a link
62to emacs-VERSION. 62to emacs-VERSION.
63 63
64--- 64---
65** The configure option `--program-transform-name' applies to more than
66just the installed binaries. Now it also affects the man pages, icons,
67and desktop file. It does not affect the info pages, since this would
68break links between the various manuals.
69
70---
65** Emacs uses libtinfo in preference to libncurses, if available. 71** Emacs uses libtinfo in preference to libncurses, if available.
66 72
67--- 73---
@@ -203,7 +209,9 @@ The PCL-CVS commands are still available via the keyboard.
203--- 209---
204*** Fullscreen and frame parameter fullscreen is supported. 210*** Fullscreen and frame parameter fullscreen is supported.
205--- 211---
206*** A file dialog is used when open/saved is done from the menu/toolbar. 212*** A file dialog is used for open/save operations initiated from the
213menu/toolbar.
214
207 215
208* Editing Changes in Emacs 24.3 216* Editing Changes in Emacs 24.3
209 217
@@ -415,8 +423,8 @@ The global binding for `M-=', `count-words-region' is in effect.
415channel keys found, if any. 423channel keys found, if any.
416 424
417** Flymake uses fringe bitmaps to indicate errors and warnings. 425** Flymake uses fringe bitmaps to indicate errors and warnings.
418See flymake-fringe-indicator-position, flymake-error-bitmap and 426See `flymake-fringe-indicator-position', `flymake-error-bitmap' and
419flymake-warning-bitmap. 427`flymake-warning-bitmap'.
420 428
421** Follow mode 429** Follow mode
422 430
@@ -634,6 +642,10 @@ inefficiency, and not namespace-clean.
634 642
635 643
636* New Modes and Packages in Emacs 24.3 644* New Modes and Packages in Emacs 24.3
645
646FIXME? erc-desktop-notifications.el, gv.el, profiler.el,
647gnus-notifications.el, mm-archive.el
648
637 649
638* Incompatible Lisp Changes in Emacs 24.3 650* Incompatible Lisp Changes in Emacs 24.3
639 651
@@ -848,7 +860,7 @@ describing the cycle.
848** Miscellaneous new functions: 860** Miscellaneous new functions:
849 861
850*** `autoloadp' 862*** `autoloadp'
851*** `autoload-do-load'. 863*** `autoload-do-load'
852+++ 864+++
853*** `buffer-narrowed-p' tests if the buffer is narrowed. 865*** `buffer-narrowed-p' tests if the buffer is narrowed.
854*** `file-name-base' returns a file name sans directory and extension. 866*** `file-name-base' returns a file name sans directory and extension.
@@ -873,7 +885,7 @@ See the "Face Attributes" section of the Elisp manual.
873 885
874*** `automount-dir-prefix' 886*** `automount-dir-prefix'
875*** `buffer-has-markers-at' 887*** `buffer-has-markers-at'
876*** `macro-declaration-function' (use `macro-declarations-alist'). 888*** `macro-declaration-function' (use `macro-declarations-alist')
877*** `window-system-version' 889*** `window-system-version'
878*** `dired-pop-to-buffer' (use `dired-mark-pop-up') 890*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
879*** `query-replace-interactive' 891*** `query-replace-interactive'
@@ -881,21 +893,20 @@ See the "Face Attributes" section of the Elisp manual.
881 893
882* Changes in Emacs 24.3 on non-free operating systems 894* Changes in Emacs 24.3 on non-free operating systems
883 895
884** New configure.bat options on MS-Windows: 896+++
885 897** On MS Windows, you can pass --without-libxml2 to configure.bat to omit
886*** --without-libxml2 omits support for libxml2, even if its presence 898support for libxml2, even if its presence is detected.
887is detected.
888 899
889** When invoked with the -nw switch to run on the Windows text-mode terminal, 900** When invoked with the -nw switch to run on the Windows text-mode terminal,
890Emacs now supports mouse highlight, help-echo (in the echo area), and 901Emacs now supports mouse highlight, help-echo (in the echo area), and
891mouse-autoselect-window. 902`mouse-autoselect-window'.
892 903
893** Two new functions are available in Cygwin builds of Emacs: 904** Two new functions are available in Cygwin builds:
894cygwin-convert-path-from-windows and cygwin-convert-path-to-windows. 905`cygwin-convert-path-from-windows' and `cygwin-convert-path-to-windows'.
895These functions allow Lisp code to access the Cygwin file-name mapping 906These functions allow Lisp code to access the Cygwin file-name mapping
896machinery to convert between Cygwin and Windows-native file names. 907machinery to convert between Cygwin and Windows-native file names.
897 908
898** On MS-Windows Vista and later Emacs now supports symbolic links. 909** On MS Windows Vista and later Emacs now supports symbolic links.
899 910
900* Changes in Emacs 24.2 911* Changes in Emacs 24.2
901 912