Paul Smith
2b8e3bb23f
Clean up close-on-exec, particularly with jobserver pipes.
...
* configure.ac: Check sys/file.h and assume fileno() always exists.
* output.h: Move output-specific content from job.h to output.h.
* os.h (fd_inherit, fd_noinherit): New functions manage FD inheritance.
* posixos.c (fd_inherit, fd_noinherit): Implement for POSIX systems.
(jobserver_setup): Force jobserver FDs to not be inherited by default.
(jobserver_pre_child): Enable inheritance in recursive invocations.
(jobserver_post_child): Disable inheritance after recursive invocations.
* w32/w32os.c (fd_inherit, fd_noinherit): Implement for W32 systems.
* job.h (CLOSE_ON_EXEC): Remove macro in deference to new fd_noinherit.
* function.c (func_shell_base): Convert CLOSE_ON_EXEC to fd_noinherit.
* job.c (child_execute_job): Ditto.
* output.c (setup_tmpfile): Ditto.
* read.c (eval_makefile): Ditto, plus remove HAVE_FILENO check.
* w32/include/sub_proc.h: Remove process_noinherit for fd_noinherit.
* w32/subproc/sub_proc.c: Ditto.
2017-06-04 18:37:20 -04:00
Paul Smith
212cb00923
* po/Makevars, makeint.h, debug.h: Add xgettext C format flags.
2016-12-25 18:18:45 -05:00
Paul Smith
ac90d80b2a
* po/LINGUAS: Added Serbian translation.
2016-12-25 18:18:45 -05:00
Paul Smith
fb7a7adc8a
Extract jobserver implementation into OS-specific files.
...
* os.h, posixos.c, w32/w32os.c: New files implementing jobserver.
* job.c, job.h, main.c, makeint.h: Move content to new files.
* w32/include/sub_proc.h, w32/subproc/sub_proc.c: Ditto.
* Makefile.am: Build and package OS-specific files.
* build_w32.bat, make_msvc_net2003.vcproj, README.W32.template:
Update for new files, and clean up the build.
* POTFILES.in, maintMakefile, NMakefile.template: Ditto.
* w32/subproc/build.bat: Delete as unused.
2016-03-08 23:40:46 -05:00
Paul Smith
798ebd241b
Update Copyright statements for the new year.
2016-02-28 12:55:20 -05:00
Paul Smith
0a3a0756b9
Update Copyright statements for 2014.
2014-09-30 09:32:42 -04:00
Paul Smith
4792e154b6
Convert to auto-generated ChangeLog files.
...
Rename existing ChangeLog files so they won't be distributed.
Add targets to maintMakefile to generate ChangeLog from the Git
repository. This will require a version of gnulib be available.
Because ChangeLog is auto-generated, we have to switch our
automake mode to "foreign" or it will complain and fail.
2013-10-13 16:48:22 -04:00
Paul Smith
deff9dacc9
Enhance the output sync mode.
...
Create a new file, output.c, and collect functions that generate output there.
We introduce a new global context specifying where output should go (to stdout
or to a sync file), and the lowest level output generator chooses where to
write output based on that context.
This allows us to set the context globally, and all operations that write
output (including functions like $(info ...) etc.) will use it.
Removed the "--trace=dir" capability. It was too confusing. If you have
directory tracking enabled then output sync will print the enter/leave message
for each synchronized block. If you don't want that, disable directory
tracking.
2013-09-12 04:07:52 -04:00
Paul Smith
353fcfdb30
Add job.h to POTFILES as it now has a translation.
2013-06-21 21:57:35 -04:00
Paul Smith
5370238316
Update copyright for changes in 2013.
2013-05-17 01:47:42 -04:00
Paul Smith
a3bd466e25
Modify .gitignore for proper formatting.
2013-01-12 17:56:25 -05:00
Paul Smith
97fe6e7dd1
Rename CVS ignore files to .gitignore
2013-01-12 17:48:58 -05:00
Paul Smith
85f9f6985d
Add missing load.c file to POTFILES.in
2013-01-06 15:37:07 +00:00
Paul Smith
adb50bd4c9
Simplify copyrights using ranges of years.
...
The new GNU Maintainer's Manual allows the use of year ranges in certain
situations; take advantage of this simplification.
2012-03-05 14:10:39 +00:00
Paul Smith
3f6bb04e75
Update copyright notices.
2012-01-16 02:29:20 +00:00
Paul Smith
c992c4d80f
Add GNU Guile as an optional embedded scripting language for make.
...
On configure-enabled systems, configure will detect Guile installed
(using pkg-config, which is how GNU Guile is distributed) and enable
it if so.
On all non-configure-enabled systems, currently, the default is for
Guile support to be disabled.
2012-01-15 22:41:53 +00:00
Paul Smith
c7d07fd0b5
Add translation for Czech (cs).
2011-09-26 19:18:30 +00:00
Paul Smith
9903cda2a7
Update copyrights for 2010.
2010-07-13 01:20:10 +00:00
Paul Smith
5f188b39a4
Update copyright years.
2009-10-25 18:56:44 +00:00
Paul Smith
3cc351decd
Added Italian (it) language support.
2009-09-16 17:42:09 +00:00
Paul Smith
b50116c4ae
Manual typo.
...
New translation.
2008-05-18 15:11:39 +00:00
Paul Smith
19b6504f8a
Incorporate Icarus Sparry's fix for 3330 and 15919, and test cases.
...
One of our translations disappeared from the translations site so remove it.
The fdl.texi file was changed to not contain any @node entries, so add some
around it in make.texi.
2007-08-15 13:53:53 +00:00
Paul Smith
891ebd4d97
* Update to GPLv3
...
* Update copyright to 2007
* Fix download URL for translation files (thanks to Thiemo Seufer)
2007-07-04 19:35:15 +00:00
Paul Smith
a6bdc58385
Last of the copyright updates.
2006-02-11 22:16:04 +00:00
Paul Smith
586daef9bc
Update copyright and license notices on all files.
...
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2006-02-11 19:02:21 +00:00
Paul Smith
4cd3539024
Various updates, mainly to the Windows port, from Eli Zaretskii and
...
Markus Maurhart.
2006-02-01 07:54:22 +00:00
Paul Smith
a53903e4c3
Add Indonesian translation.
2005-07-15 05:05:32 +00:00
Paul Smith
26d8d00cb7
Fixes to allow "make dist" etc. to work again.
2005-05-10 01:38:18 +00:00
Paul Smith
3daf8df6ee
Fix some Savannah bugs.
...
Updates to docs (still need more work here) and NEWS file.
New language.
2005-04-08 12:51:20 +00:00
Paul Smith
939167cfc1
Add a new Irish (ga) translation.
...
Fixed the CVS download URL to be simplified.
Fixed the .texi doc download: the ftp site was decommed so use CVS.
2005-02-09 21:28:00 +00:00
Paul Smith
1ce563a181
Add a Finnish translation.
...
Update the URL for the GNU translation site in maintMakefile; the old one
stopped working.
2005-02-01 23:02:17 +00:00
Paul Smith
1f16ee5c2d
Many bug fixes etc.
...
- Apply a fix for the "thundering herd" problem when using "-j -l".
This also fixes bug #4693 .
- Fix bug #7257 : allow functions as ifdef arguments
- Fix bug #4518 : make sure we print all double-colon rules with -p.
- Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1
- Various doc cleanups, etc.
2004-01-21 06:32:59 +00:00
Paul Smith
74216b00a4
Build fixes due to changes in the FSF web site.
...
Add new language support.
Minor configure, etc. cleanups.
2003-10-22 04:35:27 +00:00
Paul Smith
db401d8e0a
Updated for autoconf 2.57, automake 1.7.6, and gettext 0.12.1.
...
Fixed problems with the dist target (adding missing files).
Workaround for a bug in gettext 0.12.1 po/Makefile.in.in where distclean
wasn't cleaning everything, which caused distcheck to fail.
2003-07-31 13:04:32 +00:00
Paul Smith
dd70c67ea4
Added Ukrainian translation.
2002-12-19 14:31:45 +00:00
Paul Smith
47cd8d4624
Fix core dump on malformed variable line (Debian bug #81656 )
...
Allow SysV-style variable references to use {} in addition to ().
Add variable.h to the POTFILES.in since it has a translatable string.
2002-10-05 13:45:47 +00:00
Paul Smith
4a11acf047
Fix HAVE_BROKEN_RESTART logic.
...
Fix hash.h typos (only noticed when using Windows).
Update .cvsignore files.
2002-09-11 16:55:44 +00:00
Paul Smith
299c72e6ed
Update to a new version of automake and gettext.
...
Invent a new macro HAVE_DOS_PATHS and change various instances of:
#if defined(WINDOWS) || defined(__MSDOS__)
to use the new macro instead. This should help make the OS/2 port
cleaner, as well.
Invent a cvs-clean maintainer target that tries to get the workspace
back to the state it was in after a CVS checkout.
New language.
2002-08-10 01:27:16 +00:00
Paul Smith
ee3a4f9dd6
Change the version.
...
Update to require new gettext.
Change hash.c to by K&R.
Redo some strings to make i18n simpler.
2002-08-08 05:39:17 +00:00
Paul Smith
f2ceb0d68a
Incorporate some VMS fixes.
...
Add -B option docs.
Add .VARIABLES variable.
Add a few new tests.
Add a new translation: Swedish
2002-08-08 00:11:19 +00:00
Paul Smith
4d72c4c11e
Implement SysV-style $$@ support. I looked at E.Parmelan's patch but
...
decided to implement this a different way, and didn't use it.
2002-07-10 12:59:07 +00:00
Paul Smith
724925be2b
Various cleanups reported by people using the alpha release.
...
Incorporate "order-only" prerequisites patch. Wrote a test for it.
The test shows what might be a bug in the code; I need to look at it
more closely (anyway it doesn't behave as I expected). Also I haven't
done the docs yet.
2002-07-08 13:05:02 +00:00
Paul Smith
2f20fc1cc7
Remove .po files; we'll retrieve them directly from the translation site.
2002-07-08 03:25:34 +00:00
Paul Smith
99e01f61fd
Install newest German translation.
2002-05-13 14:40:16 +00:00
Paul Smith
306462f0bd
Updates for new tools. Everything works now building on Linux,
...
including creating make packages. I'll try some other systems tomorrow.
Also added a new translation: Croatian. Thanks!
2002-04-22 04:35:19 +00:00
Paul Smith
3a8a7a5d00
Updates and fixes for CVS builds.
...
Created a README.cvs describing the procedure.
2002-04-22 02:11:31 +00:00
Paul Smith
7ed1a08985
Update GNU make to use Autoconf 2.53, Automake 1.6.1, Gettext 0.11.1.
...
We're using Gettext's "external" feature to avoid including the intl
code in the GNU make distribution.
2002-04-21 23:57:24 +00:00
Paul Smith
de2a8fc730
* Updated gettext to use more advanced libit 0.7 version.
...
* Various cleanups.
2000-01-25 07:42:51 +00:00
Paul Smith
2fd5b943d1
* Implement GNU gettext internationalization support in GNU make.
2000-01-22 08:57:17 +00:00