diff options
| author | Glenn Morris | 2012-04-10 00:18:02 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-04-10 00:18:02 -0700 |
| commit | a9f72fc14ec65ae6f7cbd8eaea1f81c896162ecc (patch) | |
| tree | 5c9a2f58fe1ee2c14f0bd6d911a1a88052ae1d83 | |
| parent | 78658677a294be3c6cc71817ae8dd1551bd92ce3 (diff) | |
| download | emacs-a9f72fc14ec65ae6f7cbd8eaea1f81c896162ecc.tar.gz emacs-a9f72fc14ec65ae6f7cbd8eaea1f81c896162ecc.zip | |
Generate admin/unidata/Makefile with configure
* configure.in: Conditionally generate admin/unidata/Makefile.
* admin/unidata/Makefile.in: Add FSF copyright.
Make it use autoconf features, and work for out-of-tree builds.
| -rw-r--r-- | ChangeLog | 8 | ||||
| -rw-r--r-- | admin/ChangeLog | 5 | ||||
| -rw-r--r-- | admin/unidata/Makefile.in | 42 | ||||
| -rw-r--r-- | configure.in | 10 |
4 files changed, 49 insertions, 16 deletions
| @@ -1,8 +1,10 @@ | |||
| 1 | 2012-04-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in: Conditionally generate admin/unidata/Makefile. | ||
| 4 | |||
| 1 | 2012-04-09 Teodor Zlatanov <tzz@lifelogs.com> | 5 | 2012-04-09 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 6 | ||
| 3 | * info/dir (File): | 7 | * info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls manual. |
| 4 | * Makefile.in: Add emacs-gnutls to the info directory and the | ||
| 5 | INFO_FILES target. | ||
| 6 | 8 | ||
| 7 | 2012-04-09 Glenn Morris <rgm@gnu.org> | 9 | 2012-04-09 Glenn Morris <rgm@gnu.org> |
| 8 | 10 | ||
diff --git a/admin/ChangeLog b/admin/ChangeLog index ac2323c77d0..1cc52bc5fb5 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-04-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * unidata/Makefile.in: Add FSF copyright. | ||
| 4 | Make it use autoconf features, and work for out-of-tree builds. | ||
| 5 | |||
| 1 | 2012-04-07 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-04-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * unidata/README: | 8 | * unidata/README: |
diff --git a/admin/unidata/Makefile.in b/admin/unidata/Makefile.in index c890dad8903..ecbd0490246 100644 --- a/admin/unidata/Makefile.in +++ b/admin/unidata/Makefile.in | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | # Makefile -- Makefile to generate character property tables. | 1 | # Makefile -- Makefile to generate character property tables. |
| 2 | |||
| 3 | # Copyright (C) 2012 Free Software Foundation, Inc. | ||
| 4 | |||
| 2 | # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 | 5 | # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| 3 | # National Institute of Advanced Industrial Science and Technology (AIST) | 6 | # National Institute of Advanced Industrial Science and Technology (AIST) |
| 4 | # Registration Number H13PRO009 | 7 | # Registration Number H13PRO009 |
| @@ -18,25 +21,33 @@ | |||
| 18 | # You should have received a copy of the GNU General Public License | 21 | # You should have received a copy of the GNU General Public License |
| 19 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | 22 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
| 20 | 23 | ||
| 24 | SHELL = /bin/sh | ||
| 25 | |||
| 26 | srcdir = @srcdir@ | ||
| 27 | abs_builddir = @abs_builddir@ | ||
| 28 | top_srcdir = @top_srcdir@ | ||
| 29 | abs_top_builddir = @abs_top_builddir@ | ||
| 21 | 30 | ||
| 22 | EMACS = ../../src/emacs | 31 | EMACS = ${abs_top_builddir}/src/emacs |
| 23 | DSTDIR = ../../lisp/international | 32 | DSTDIR = ${top_srcdir}/lisp/international |
| 24 | RUNEMACS = ${EMACS} -Q -batch | 33 | emacs = ${EMACS} -batch --no-site-file --no-site-lisp |
| 25 | 34 | ||
| 26 | all: ${DSTDIR}/charprop.el | 35 | all: ${DSTDIR}/charprop.el |
| 27 | 36 | ||
| 28 | .el.elc: | 37 | .el.elc: |
| 29 | ${RUNEMACS} -batch -f batch-byte-compile $< | 38 | ${emacs} -f batch-byte-compile $< |
| 30 | 39 | ||
| 31 | unidata.txt: UnicodeData.txt | 40 | unidata.txt: ${srcdir}/UnicodeData.txt |
| 32 | sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < UnicodeData.txt > $@ | 41 | sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < ${srcdir}/UnicodeData.txt > $@ |
| 33 | 42 | ||
| 34 | ${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt | 43 | ${DSTDIR}/charprop.el: ${srcdir}/unidata-gen.elc unidata.txt |
| 35 | ELC=`/bin/pwd`/unidata-gen.elc; \ | 44 | cd ${DSTDIR} && ${emacs} -l ${srcdir}/unidata-gen \ |
| 36 | DATADIR=`/bin/pwd`; \ | 45 | -f unidata-gen-files ${srcdir} ${abs_builddir}/unidata.txt |
| 37 | DATA=unidata.txt; \ | 46 | |
| 38 | cd ${DSTDIR}; \ | 47 | ## Like the above, but generate in PWD rather than lisp/international. |
| 39 | ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATADIR} $${DATA} | 48 | charprop.el: ${srcdir}/unidata-gen.elc unidata.txt |
| 49 | ${emacs} -l ${srcdir}/unidata-gen \ | ||
| 50 | -f unidata-gen-files ${srcdir} unidata.txt | ||
| 40 | 51 | ||
| 41 | install: charprop.el | 52 | install: charprop.el |
| 42 | cp charprop.el ${DSTDIR} | 53 | cp charprop.el ${DSTDIR} |
| @@ -46,4 +57,9 @@ clean: | |||
| 46 | if test -f charprop.el; then \ | 57 | if test -f charprop.el; then \ |
| 47 | rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ | 58 | rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \ |
| 48 | fi | 59 | fi |
| 49 | rm -f charprop.el unidata-gen.elc unidata.txt | 60 | rm -f charprop.el ${srcdir}/unidata-gen.elc unidata.txt |
| 61 | |||
| 62 | distclean: clean | ||
| 63 | -rm -f ./Makefile | ||
| 64 | |||
| 65 | maintainer-clean: distclean | ||
diff --git a/configure.in b/configure.in index 14a80622cd9..9fd3dead2b1 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -3834,6 +3834,16 @@ if test -f $srcdir/${opt_makefile}.in; then | |||
| 3834 | AC_CONFIG_FILES([test/automated/Makefile]) | 3834 | AC_CONFIG_FILES([test/automated/Makefile]) |
| 3835 | fi | 3835 | fi |
| 3836 | 3836 | ||
| 3837 | |||
| 3838 | dnl admin/ may or may not be present. | ||
| 3839 | opt_makefile=admin/unidata/Makefile | ||
| 3840 | |||
| 3841 | if test -f $srcdir/${opt_makefile}.in; then | ||
| 3842 | SUBDIR_MAKEFILES="$SUBDIR_MAKEFILES $opt_makefile" | ||
| 3843 | AC_CONFIG_FILES([admin/unidata/Makefile]) | ||
| 3844 | fi | ||
| 3845 | |||
| 3846 | |||
| 3837 | SUBDIR_MAKEFILES_IN=`echo " ${SUBDIR_MAKEFILES}" | sed -e 's| | $(srcdir)/|g' -e 's|Makefile|Makefile.in|g'` | 3847 | SUBDIR_MAKEFILES_IN=`echo " ${SUBDIR_MAKEFILES}" | sed -e 's| | $(srcdir)/|g' -e 's|Makefile|Makefile.in|g'` |
| 3838 | 3848 | ||
| 3839 | AC_SUBST(SUBDIR_MAKEFILES_IN) | 3849 | AC_SUBST(SUBDIR_MAKEFILES_IN) |