aboutsummaryrefslogtreecommitdiffstats
path: root/admin/update_autogen (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-01Update copyright year to 2020Paul Eggert1-1/+1
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2019-05-01* admin/update_autogen: Handle git worktree.Glenn Morris1-1/+1
; No need to merge to master.
2019-01-01Update copyright year to 2019Paul Eggert1-1/+1
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2018-03-23Make update_autogen work in git worktreesRobert Pluim1-1/+1
* admin/update_autogen: Make it work in a git worktree
2018-01-01Update copyright year to 2018Paul Eggert1-1/+1
Run admin/update-copyright.
2017-09-13Prefer HTTPS to FTP and HTTP in documentationPaul Eggert1-1/+1
Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
2017-05-30* admin/update_autogen: Remove bzr support.Glenn Morris1-18/+6
2017-05-17* admin/update_autogen (commit): Pull before push.Glenn Morris1-0/+2
2017-03-17Switch from Automake to GNU MakePaul Eggert1-6/+4
Emacs assumes GNU Make, and GNU Make has much of the functionality of Automake built-in. The Emacs build process uses Automake primarily because Emacs uses some Gnulib code and Gnulib formerly required Automake. Now that Gnulib no longer requires Automake, Emacs can stop using Automake and this should simplify Emacs maintenance in the future (Bug#26100). Although this patch may look long, most of it is generated automatically: the changes to build-aux/config.guess, build-aux/config.sub, build-aux/install-sh, and lib/gnulib.mk.in are all done by admin/merge-gnulib. * .gitignore: Remove build-aux/ar-lib, build-aux/compile, build-aux/config.guess, build-aux/config.sub, build-aux/depcomp, build-aux/install-sh, build-aux/missing, and lib/Makefile.in, as they are no longer built by autogen.sh. Add lib/gnulib.mk, as it is now built by 'configure'. Remove nt/gnulib.mk, as it is no longer built by 'make'. * INSTALL.REPO, README, admin/make-tarball.txt: Remove mention of Automake. * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL, lib) (AUTOCONF_INPUTS, ACLOCAL_PATH, ACLOCAL_INPUTS) ($(srcdir)/aclocal.m4, AUTOMAKE_INPUTS) ($(srcdir)/lib/Makefile.in, $(srcdir)/nt/gnulib.mk, am--refresh): Remove. ($(MAKEFILE_NAME)): Depend on lib/gnulib.mk.in. ($(srcdir)/configure, $(srcdir)/src/stamp-h.in) ($(srcdir)/src/config.in): Use autogen.sh instead of doing it by hand. * admin/merge-gnulib (AVOIDED_MODULES, avoided_flags)): New vars, to simplify processing of avoided modules. (GNULIB_TOOL_FLAGS): Move --avoid flags into AVOIDED_MODULES. Add --gnu-make, and change makefile name to gnulib.mk.in. Copy config.guess, config.sub, and install-sh too, since Automake no longer does that for us. * admin/notes/copyright: * admin/update_autogen (genfiles): Update list of files. Remove hack for nt/gnulib.mk, a file that is no longer needed. * autogen.sh (progs): Remove Automake. (automake_min): Remove. Build aclocal.m4 so that autoreconf need not use aclocal. * build-aux/config.guess, build-aux/config.sub: * build-aux/install-sh: New files, copied from Gnulib. These are now updated by admin/merge-gnulib instead by autogen.sh. * configure.ac (AC_PROG_MAKE_SET, ACLOCAL_PATH, AM_CONDITIONAL): Remove. (AM_INIT_AUTOMAKE, AM_SILENT_RULES): Remove call. (AC_PROG_CC_C_O): Call this instead of AM_PROG_CC_C_O. (BUILDING_FOR_WINDOWSNT, HYBRID_MALLOC_LIB): Remove; no longer needed. (--disable-silent-rules): New option, since Automake no longer does this for us. (AM_V, AM_DEFAULT_V): Set unconditionally, and do not bother with AM_SUBST_NOTMAKE. (AC_PROG_INSTALL): Add call. (MAKEINFO): Do not bother with the 'missing' program. (MAKEINFO, SYSTEM_TYPE): AC_SUBST. (AC_CONFIG_FILES): Add Makefile, lib/gnulib.mk. (SUBDIR_MAKEFILES): Remove duplication. * lib/Makefile.am: Remove, replacing with: * lib/Makefile.in: New file, with the old Makefile.am contents and with the following changes: (AUTOMAKE_OPTIONS, BUILT_SOURCES, CLEANFILES, EXTRA_DIST) (MOSTLYCLEANDIRS, MOSTLYCLEANFILES, noinst_LIBRARIES, SUFFIXES) (AM_CFLAGS, DEFAULT_INCLUDES, libegnu_a_SOURCES, libegnu_a_LIBADD) (EXTRA_libegnu_a_SOURCES, libegnu_a_SHORTNAME, libegnu_a_CPPFLAGS): Remove. (VPATH, abs_top_builddir, top_builddir, top_srcdir, all, AM_V_AR) (AM_V_CC, AM_V_GEN, AM_V_at, DEPDIR, DEPFLAGS, MKDEPDIR, SYSTEM_TYPE) (libgnu.a, libegnu.a, ETAGS, $(ETAGS), tags, TAGS, clean) (mostlyclean, distclean, bootstrap-clean, maintainer-clean): New macros and rules, since Automake no longer does them. Include ../nt/gnulib-cfg.mk if SYSTEM_TYPE is windows-nt, instead of including ../nt/gnulib.mk if BUILDING_FOR_WINDOWS_NT. Include dependency files if AUTO_DEPEND. (ALL_CFLAGS, AUTOCONF_INPUTS, libgnu_a_OBJECTS, libegnu_a_OBJECTS): New macros. (bootstrap-clean): Depend on distclean, not maintainer-clean, and remove gnulib.mk. (AUTOCONF_INPUTS, $(top_srcdir)/configure, ../config.status, Makefile): New macros and rules, copied from ../Makefile.in. ($(libegnu_a_OBJECTS), $(libgnu_a_OBJECTS)): Depend on BUILT_SOURCES. (.c.o, e-%.o): New generic rules. * lib/gnulib.mk: Remove. * lib/gnulib.mk.in: New file, which is built by autogen.sh and contains much of what used to be in lib/gnulib.mk. * m4/gnulib-common.m4: Copy from gnulib. * make-dist: Do not distribute build-aux/compile, build-aux/depcomp, build-aux/missing, build-aux/ar-lib, lib/Makefile.am, nt/gnulib.mk, nt/gnulib-modules-to-delete.cfg. Distribute lib/Makefile.in, lib/gnulib.mk.in, and nt/gnulib-cfg.mk instead. * nt/Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0) (am__v_GEN_1, ${srcdir}/gnulib.mk): Remove. * nt/gnulib-cfg.mk: New file, which supersedes ... * nt/gnulib-modules-to-delete.cfg: ... this file, which is removed. * src/Makefile.in (ACLOCAL_INPUTS): Remove. (AUTOCONF_INPUTS): Merge ACLOCAL_INPUTS into it. ($(top_srcdir)/configure, ../config.status, config.in Makefile): Defer to parent Makefile.
2017-03-07* admin/update_autogen: Ensure nt/gnulib.mk exists, for autoreconf.Glenn Morris1-0/+2
2017-03-07Revert "Replace ldefs-boot with a much smaller file"Phillip Lord1-10/+9
This reverts commit c27b645956a11fab1dd8fa189254d525390958f5. This commit has been reverted because the new mechanism was too sensitive to changes in the lisp source, generation of new ldefs-boot files was platform specific and resulted in warnings about undefined variables. See also 11436e2890d.
2016-12-31Update copyright year to 2017Paul Eggert1-1/+1
Run admin/update-copyright.
2016-12-13Replace ldefs-boot with a much smaller filePhillip Lord1-9/+10
* Makefile.in (bootstrap-build,generate-ldefs-boot): New targets. (bootstrap): Depend on bootstrap-build. * admin/ldefs-clean.el: New file. * lisp/Makefile.in (compile-first): Depend on loaddefs.el * lisp/ldefs-boot.el: Remove. * lisp/ldefs-boot-auto.el: New file. * lisp/ldefs-boot-manual.el: New file. * lisp/loadup.el: Load ldefs-boot-manual.el. * src/emacs.c (generating_ldefs_boot): New variable. (main): Check whether we are generating ldefs. * src/eval.c (autoload-do-load): Dump autoload forms to stderr when requested. * src/lisp.h (generating_ldefs_boot): New variable. * admin/gitmerge.el, admin/make-tarball.txt, admin/notes/copyright, lisp/Makefile.in, lisp/cus-dep.el, lisp/emacs-lisp/elint.el, lisp/finder.el, lisp/loadup.el, msdos/mainmake.v2: Update reference to ldefs-boot. * admin/update_autogen: Alter mechanism for ldefs-boot generation.
2016-04-22* admin/update_autogen: Use #!/usr/bin/env bashNicolas Petton1-1/+1
2016-04-13Do not require that .git be a directoryPaul Eggert1-1/+1
Problem reportyed by Phillip Lord. * admin/update_autogen, autogen.sh, build-aux/gitlog-to-emacslog: * configure.ac, make-dist: Do not require that .git be a directory, as 'git worktree' makes it a file and not a directory.
2016-01-01Update copyright year to 2016Paul Eggert1-1/+1
Run admin/update-copyright.
2015-06-07* admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.Glenn Morris1-1/+1
2015-05-06Avoid unnecessary bumping of Makefile.in's timestamp.Glenn Morris1-1/+1
* Makefile.in (gen_origin): Move to gitlog-to-emacslog. (emacslog): New variable. (ChangeLog): Use $emacslog. Don't pass $gen_origin. (unchanged-history-files): Use $emacslog rather than Makefile.in. (change-history-nocommit): Store hash in $emacslog. * build-aux/gitlog-to-emacslog (gen_origin): Move default here. * admin/update_autogen (changelog_files): Update for the above.
2015-05-06* admin/update_autogen: Add option to update ChangeLog.Glenn Morris1-1/+15
(usage): Mention -H. (changelog_flag, changelog_n, changelog_files): New variables. (main): Check for -H, and maybe run change-history-nocommit.
2015-03-31* admin/update_autogen (commit): Switch prefix from "# " to "; ".Glenn Morris1-1/+1
2015-01-02* admin/update_autogen (commit): Prepend "# " to commit message.Glenn Morris1-1/+1
2015-01-01Update copyright year to 2015Paul Eggert1-1/+1
Run admin/update-copyright.
2015-01-01Update copyright year to 2015Paul Eggert1-1/+1
Run admin/update-copyright.
2014-12-01* admin/update_autogen (commit): Revert earlier change.Glenn Morris1-4/+0
This was based on a misunderstanding due to the mess that had been made in trunk of this file and its ChangeLog.
2014-12-01* admin/update_autogen: Fix bogosity introduced in 2014-11-16 merge.Glenn Morris1-8/+1
2014-12-01* admin/update_autogen (commit): With git, call "add" before "commit".Glenn Morris1-0/+4
2014-11-15Backport 2014-06-30 admin/update_autogen changeGlenn Morris1-6/+22
* admin/update_autogen: Auto-detect VCS in use. (vcs): New variable. (status, commit, main): Handle git.
2014-11-11Git transition patchEric S. Raymond1-6/+1
All bzr revision IDS, and all CVS revision IDs for which a commit could be identified, were changed to time-date!committer version stamps. All .cvsignore files in the history became .gitignore files. Fixes-bug annotations from bzr were copied into the corresponding commit comments. (The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org>. The last CVS commit was <2009-12-27T08:11:12Z!cyd@stupidchicken.com>) Committer/author email addresses are generally correct for the transition day, not necessarily when the commit was originally made.
2014-06-29* update_autogen: Find loaddefs targets rather than parsing lisp/Makefile.inGlenn Morris1-4/+8
* lisp/Makefile.in: Comment.
2014-06-28* admin/update_autogen: Remove need to cd into/out of lisp/.Glenn Morris1-8/+3
2014-03-20* admin/update_autogen: Auto-detect VCS in use.Glenn Morris1-6/+22
(vcs): New variable. (status, commit, main): Handle git.
2014-01-13* admin/update_autogen (status): New function. Use throughout.Glenn Morris1-53/+32
2014-01-10* admin/update_autogen: Fix sed bug that was losing the last AUTOGEN_VCS.Glenn Morris1-2/+3
2014-01-01Update copyright year to 2014 by running admin/update-copyright.Paul Eggert1-1/+1
2013-12-12Stop keeping info/dir in the repository.Glenn Morris1-4/+5
* build-aux/dir_top: Move here from admin/. * build-aux/make-info-dir: New script. * Makefile.in (bootstrap-clean): Delete info/. (info-dir, ${srcdir}/info/dir): New rules. (info): Also make info-dir. (check-info): Rename from check-info-dir. Instead of info/dir entries, check @dircategory in info/*.info. * make-dist: Use `info' rule rather than `info-real'. No more info/COPYING (not even the right license for info/ files). * info/: Remove from repository. * admin/update_autogen (info_dir): Use dir_top from build-aux/ rather than admin/. * .bzrignore: Ignore info/ altogether. * doc/emacs/Makefile.in: Comment.
2013-12-11* admin/update_autogen (info_dir): Tweak commit message.Glenn Morris1-1/+1
2013-12-11Add support for auto-generating info/dirGlenn Morris1-3/+75
* admin/update_autogen: Add option to generate info/dir. (Usage): Add -I. (info_flag): New variable. (-I): New option. (doc): Maybe check its status. (info_dir): New function. * admin/dir_top: New file. * doc/emacs/emacs.texi: * doc/lispintro/emacs-lisp-intro.texi: * doc/lispref/elisp.texi: * doc/misc/autotype.texi, doc/misc/cc-mode.texi, doc/misc/ediff.texi: * doc/misc/ert.texi, doc/misc/htmlfontify.texi, doc/misc/ido.texi: * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/srecode.texi: * doc/misc/todo-mode.texi, doc/misc/tramp.texi: Sync direntry with info/dir version.
2013-11-04Remove the autogen/ directoryGlenn Morris1-43/+55
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html * autogen: Remove directory. Move update_autogen to admin/. * autogen.sh: Remove reference to copy_autogen. * GNUmakefile (configure): * Makefile.in (bootstrap): Do not try to run copy_autogen. * config.bat: Use msdos/autogen rather than autogen. * admin/update_autogen: Move here from ../autogen. (usage): Update. Remove -l, add -A. (autogendir): New variable. (ldefs_flag): Default to set. (genfiles): Reduce to only ms-dos relevant files. (main): Make checking autogen sources optional. Make copying of autogen files optional. * msdos/autogen/config.in: * msdos/autogen/Makefile.in: Move here from ../autogen. * nt/INSTALL: Remove reference to copy_autogen. * nt/config.nt: Comment.
2013-01-01Update copyright notices for 2013.Paul Eggert1-1/+1
2012-07-08Rename configure.in to configure.ac.Paul Eggert1-1/+1
Fixes: debbugs:11603
2012-01-05Add 2012 to FSF copyright years for Emacs filesGlenn Morris1-1/+1
2011-07-29* autogen/copy_autogen, autogen/update_autogen: Update build-aux locations.Paul Eggert1-1/+5
2011-04-06* autogen/update_autogen: Ignore comment diffs in ldefs-boot.el.Glenn Morris1-1/+4
2011-04-05* autogen/update_autogen: Add a separate -L option for ldefs-boot.el.Glenn Morris1-3/+7
2011-04-05* autogen/update_autogen: Configure --without-x.Glenn Morris1-1/+2
2011-04-05Make update_autogen handle loaddefs-like files as well.Glenn Morris1-17/+127
* autogen/update_autogen: (usage): Add -l, -C. (clean, ldefs_flag, ldefs_in, ldefs_out): New variables. With -l, check status of lisp/ as well. With -C, clean before building. (autoreconf): Only pass -f in the `clean' case. (commit): New function. * lisp/Makefile.in (AUTOGEN_VCS): New variable. (autoloads): Use $AUTOGEN_VCS. * .bzrignore: Tighten up ignore patterns (for autogen/).
2011-03-27* autogen/update_autogen: Pass -f to autoreconf.Glenn Morris1-1/+1
2011-03-25* autogen/update_autogen: Remove useless function keyword.Andreas Schwab1-2/+2
2011-03-25Remove some files that autoreconf can supply.Glenn Morris1-2/+13
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html * compile, config.guess, config.sub, depcomp, install-sh, missing: Remove; autoreconf can supply them. * Makefile.in (sync-from-gnulib): Don't sync config.sub, config.guess, install-sh. Pass -i to autoreconf. * autogen/update_autogen (genfiles): Add compile, config.guess, config.sub, depcomp, install-sh, missing. Pass -i to autoreconf. Discard non-error output from autoreconf in -q case. * autogen/compile, autogen/config.guess, autogen/config.sub: * autogen/depcomp, autogen/install-sh, autogen/missing: New files. * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * autogen/README: Add compile, config.guess, config.sub, depcomp, install-sh, missing. * INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args. * .bzrignore: Add compile, config.guess, config.sub, depcomp, install-sh, missing.
2011-03-23* autogen/update_autogen (msg): Remove function; use `exec' instead.Glenn Morris1-16/+10