1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

32 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
b2e59f8576 Define datarootdir in Makefile.config.in, for better Autoconf compatibility.
With Autoconf 2.60a, the default values of datadir, infodir, and
mandir refer to ${datarootdir}.  If Makefile.config.in does not define
datarootdir, Autoconf detects this and expands ${datarootdir} when it
substitutes expressions like @datadir@, but it also outputs the
following warning:

config.status: creating Makefile.config
config.status: WARNING:  /home/Kalle/src/elinks/Makefile.config.in seems to ignore the --datarootdir setting

According to a comment in config.status, "This hack should be removed
a few years after 2.60."  So it seems best to prepare for that now by
defining datarootdir = @datarootdir@ in Makefile.config.in.  Earlier
versions of Autoconf may leave that line unexpanded; but because the
makefiles do not directly refer to ${datarootdir}, there's no harm.
(cherry picked from commit 388b1b0efd)
2008-02-07 23:40:23 +02:00
Jonas Fonseca
c2a0d3b969 Use git tools instead of cogito for getting the build ID
The build ID now includes both last tagged version, commit generation
since last tagged version, as well as the leading characters of the
commit ID and a flag for dirty working tree.
2008-01-22 13:31:58 +01:00
Kalle Olavi Niemitalo
78c0e74df0 build: Don't use $(AM_CFLAGS) anymore. Use $(CPPFLAGS) instead.
$(AM_CFLAGS) is one of the variables set by Automake, which ELinks no
longer uses.  $(CPPFLAGS) should be used whenever the C preprocessor
is run, according to the GNU Coding Standards.  (My build environment
does have an important -I option there.)

[ From commit 40e257bedd in ELinks
  0.12.GIT.  --KON ]
2007-05-28 10:53:18 +03:00
Kalle Olavi Niemitalo
33ba3bd8d4 Prepend $(top_builddir) to @INSTALL@ if it is relative.
Reported to elinks-users on 2006-08-23.

[ From commit 57a9871ea1 in ELinks 0.12.GIT.
  Should fix an error building ELinks in the source directory on SunOS.
  The error was again reported to elinks-users on 2007-05-10.  --KON ]
2007-05-11 09:42:48 +03:00
Jonas Fonseca
038f3a4502 Apply the many changes to Makefile.lib in one go
This fixes make test dependencies and a lot more things.
2006-01-29 12:41:14 +01:00
Jonas Fonseca
e5ba160c77 Detect whether asciidoc supports --unsafe; set ASCIIDOC_FLAGS accordingly 2006-01-29 11:44:40 +01:00
9341c9085e - FSP protocol 2006-01-29 11:03:53 +01:00
Jonas Fonseca
803f3c5d39 More build speed ups by using native make for more stuff
Nearly halves traversal of an empty tree.
2006-01-29 10:32:30 +01:00
Laurent MONIN
92387e4478 Store lib.o name in a variable named LIB_O_NAME. 2006-01-29 10:22:19 +01:00
Jonas Fonseca
b52baed88f Move src/dom/test/libtest test/libtest.sh, put path to it in TEST_LIB 2006-01-10 14:05:58 +01:00
Jonas Fonseca
748bab64a7 Make the printed install paths simpler for man5 files when srcdir == builddir 2005-12-30 00:49:01 +01:00
Jonas Fonseca
61185ff34e Make ECMAScript browser scripting configurable
Either set CONFIG_SM_SCRIPTING in features.conf or pass to ./configure the
option --disable-sm-scripting. Now scripting is also enabled when needed
and not only if some other scripting backend is enabled.

Remove some remnants of SEE scripting backend.
2005-12-25 02:23:54 +01:00
Russ Rowan
3c9f192267 Colorize Pasky's build system a bit. 2005-12-15 02:44:15 -05:00
Jonas Fonseca
68d692724c Add rules to check all .c files with sparse
... and things ain't looking too good. Lots of warnings.
2005-11-24 13:24:19 +01:00
Jonas Fonseca
a5d205c047 Add missing host variable and fix installation of charset.alias
Add variable expanded from @host@ and use $(host) instead of @host@
in the gettext Makefile.

Reported by zas.
2005-10-26 19:06:30 +02:00
Jonas Fonseca
0ba773e7a5 Add the basics for _browser_ (ecma)scripting ELinks with SEE
SEE is David Leonard's Simple Ecmascript Engine.  The SEE scripting backend
is very raw and not tested very much. The idea was to see what kind of
creature SEE is (and contradict pasky's aired opinion that no new features
are added anymore ;).

echo 'function goto_url() { return 'localhost'; }' > ~/.elinks/hooks.js
and get local for maximum security ...

FYI: SEE is smaller than Spidermonkey but doesn't have the same kind of
data-driven interface, although it looks like it is possible to build that.
2005-10-20 20:38:01 +02:00
Jonas Fonseca
c88afeb1c2 path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
Jonas Fonseca
b72ab2268e Move RELPATH variable setup to Makefile.config.in and fix srcdir
The fix involves detecting of relative vs absolute paths. Should probably
be done at configure time, but keep it dynamic for now.
2005-10-20 03:44:23 +02:00
Jonas Fonseca
550449bee9 Now we have atleast some sort of autotool rebuilding 2005-10-03 01:31:21 +02:00
Jonas Fonseca
799529476c Drop unused substituted variables
Drop a lot of the gettext generated variables which are never used.
2005-10-01 17:09:49 +02:00
Jonas Fonseca
e8642dfb66 Move CONFIG_NLS down to the CONFIG_* section 2005-10-01 16:50:22 +02:00
Jonas Fonseca
23497405cb More installation fixes
- Use the mkinstalldirs in $(top_srcdir)/config
 - Fix buggy scripting of srcdir which broke the local gettext install
 - Add the local uninstall stuff so we have it around
2005-09-23 20:30:56 +02:00
Jonas Fonseca
779db5014e Clean up and clarify the autotools variables
Remove AUTOMAKE variable, spotted by Miciah and me. Notice that the unset
variables are needed for future rebuilding of .in files.
2005-09-22 13:50:10 +02:00
Jonas Fonseca
5455795394 Upgrade to use cg-commit-id for getting build ID
The recent cogito-0.15 renamed commit-id to have the cg-prefix.
2005-09-19 11:04:03 +02:00
Jonas Fonseca
9921e58aba Put the commit ID in the version string
Finally, we are able to identify the builds more accurately. Now we check
if commit-id (cogito tool) is available and pass the output to vernum.c
compilation which then exports it as a build_id string.

The first line of --version is now a bit long, we should probably move the
build date to a second indented line or something.
2005-09-17 14:45:59 +02:00
Jonas Fonseca
ffcb7582b8 Remove some unused config strings 2005-09-17 13:19:10 +02:00
Petr Baudis
f8908d956a Add missed CONFIG_NLS to Makefile.config 2005-09-17 08:14:20 +02:00
Petr Baudis
0f15183aed Added support for conditional rules in ELBuild (not used yet) 2005-09-16 04:24:01 +02:00
Petr Baudis
39bddb7562 Properly set $(srcdir)
Should fix building outside of source tree and making po/.
2005-09-16 02:55:13 +02:00
Petr Baudis
201c7956cc ELBuildize po/Makefile. 2005-09-16 01:07:31 +02:00
Petr Baudis
833770a5f7 Implicit recursiveness and clean rule
All objects defining $(OBJS) will get them and *.a deleted during
make clean.

The all, clean and install rules now implicitly imply their -recursive
counterparts - those will just do nothing in case of $(SUBDIRS) not
defined, so that's ok.
2005-09-15 23:28:56 +02:00
Petr Baudis
06ea255a22 Convert part of the build to the new build system
The root makefile is converted as well as some leaf Makefiles. This
also brings in the required infrastructure and adjusts configure.in
appropriately.

I converted only makefiles containing no configurable stuff, since
that'll require more consideration yet.
2005-09-15 21:03:56 +02:00