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

30 Commits

Author SHA1 Message Date
Laurent MONIN
d45c4eb9a8 Fix update-po target which failed to notice a change in source tree. 2006-01-10 14:13:33 +01:00
Jonas Fonseca
dabe0816fb Fix more problems when $(srcdir) is empty
Thanks to Kalle Olavi Niemitalo and Adam Golebiowski.
2006-01-10 14:00:11 +01:00
Jonas Fonseca
d0745cceda Fix po/Makefile w.r.t. the new value of $(srcdir) when srcdir == buildir 2006-01-01 17:22:39 +01:00
Jonas Fonseca
b9c5bc5536 Make building of .gmo files use the new build system
It now shows:
	[GMSGFMT]   po/da.gmo      1538 translated messages, ...
2005-12-26 19:17:47 +01:00
Russ Rowan
42f715f90f Clean up 'make clean'. 2005-12-15 04:04:26 -05:00
Kalle Olavi Niemitalo
ce852b9d5f Use $@ to simplify a rule and try to nullify metacharacters
I changed the %.gmo rule in po/Makefile to use $@ instead of a shell
variable, and made various tweaks in it to better support strange file
names, e.g. spaces in $(srcdir).  I suppose other makefiles in ELinks and
other rules in po/Makefile do not support those, but one must start
somewhere.  I don't think it will ever be feasible to support backslashes
and quotes without horrible contortions, but spaces and dashes should be
doable.

I also quoted the ~ in --check-accelerators=~ in case some shell might want
to expand it as the home directory. Bash 3.00.16(1) doesn't because the
word contains dashes.
2005-12-10 17:07:21 +01:00
Kalle Olavi Niemitalo
f25f944123 Fix update-po and check-po when srcdir != builddir
Now, $(lang).po files are always read and written in srcdir.
Also, document how *.gmo files end up in both srcdir and builddir.
2005-12-10 17:03:41 +01:00
Kalle Olavi Niemitalo
b1a48b6b4f Remove SUFFIXES variable and .SUFFIXES rule
According to the documentation, GNU Make uses them only for suffix rules,
which have been replaced with pattern rules in po/Makefile. The makefiles
included by po/Makefile do not define suffix rules, either.
2005-12-06 12:23:19 +01:00
Jonas Fonseca
53f756719a Remove dist rule
We don't use 'make dist' anymore. Reported by Kalle Olavi Niemitalo.
2005-12-04 20:12:52 +01:00
Jonas Fonseca
212c0e6c04 Drop install-local-{yes,no} rules since logic was moved to the top Makefile 2005-10-30 08:07:03 +01:00
Jonas Fonseca
c88afeb1c2 path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00
Jonas Fonseca
db99a74777 Add support for out-of-tree builds
Involves prefixing with $(srcdir) to some of the build rule variables. For
the builddir we create Makefiles which simply include the srcdir Makefile.
Add list make rule to get list of Makefiles to generate (find will get it
wrong for builddirs nested in srcdir).

There are still a few minor issues like the file paths echoed during make
install ...
2005-10-20 03:49:40 +02:00
Jonas Fonseca
a617d5b140 Convert to new suffix rule and make install-local depend on all-local 2005-10-20 03:33:35 +02:00
Jonas Fonseca
e39a4342d6 Include $(top_srcdir)/Makefile.lib instead of $(path_to_top)/Makefile.lib
A step towards out of tree builds ...
2005-10-20 01:11:47 +02:00
Laurent MONIN
73150589c4 Store the list of files to pass to xgettext through -f files in file named
'potfiles.list'.
2005-10-19 11:09:41 +02:00
Laurent MONIN
8fd7b64dff Support for make install PO=<lang>. 2005-10-18 12:16:12 +02:00
Laurent MONIN
dd3702ca5f Use $(lang) instead of less explicit $(C). 2005-10-18 12:14:38 +02:00
Laurent MONIN
0407633145 Simplify update-po target. 2005-10-18 12:11:55 +02:00
Laurent MONIN
246e321848 Clean up and simplify check-po rule. 2005-10-18 11:52:29 +02:00
Laurent MONIN
ffceacbd7d Fix po files installation with make 3.79.1, related code was simplified. 2005-10-18 11:18:05 +02:00
Jonas Fonseca
fe7879c248 Rename clean target to clean-local 2005-10-02 20:32:31 +02:00
Jonas Fonseca
daaf61331a Make installation also use the cmd calling
Makes it more obvious which files are actually installed. MKINSTALLDIRS
still spurs out a lot of 'mkdir ...', which probably should also be
silenced when V=0.
2005-10-01 14:16:19 +02:00
Jonas Fonseca
b30064c0d0 Rename targets: *-l -> *-local 2005-09-27 21:11:28 +02:00
Petr Baudis
bd0f5ba60d We call $(mkinstalldirs) $(MKINSTALLDIRS)
Should fix make install.
2005-09-23 09:08:47 +02:00
Jonas Fonseca
2ce808cb0f Revert building of po/ with out running configure 2005-09-18 21:34:13 +02:00
Jonas Fonseca
87e993b9d4 Allow po/ to build without running configure 2005-09-18 02:37:25 +02:00
Petr Baudis
261fdb5326 Fix building of .gmo files 2005-09-16 02:54:38 +02:00
Petr Baudis
204bbe5d2c Fix starting a build from a subdirectory ELBuild-wise
Now all the submakefiles contain informationa buot where in the directory
hierarchy they stay.
2005-09-16 02:07:36 +02:00
Petr Baudis
32fe41fae7 ELBuild: Use 'include' instead of '-include'
We _do_ want to error on when including .config and .lib failed.
2005-09-16 01:09:42 +02:00
Petr Baudis
201c7956cc ELBuildize po/Makefile. 2005-09-16 01:07:31 +02:00