Commit Graph

20 Commits

Author SHA1 Message Date
Christian Marangi
46bcbe4223
tools/missing-macros: install files from HOST_BUILD_DIR instead of src
Install files from HOST_BUILD_DIR instead of src. These files are now
correctly copied to HOST_BUILD_DIR and can be referenced from there.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-05-22 11:53:52 +02:00
Michael Pratt
cdd56fc893 tools/missing-macros: add symlinks to makeinfo
There are other wrapper scripts released with makeinfo like texi2pdf which
are required by the build prerequisites of some tools, and have a similar
purpose and usage.

Let the makeinfo perl script handle all of these cases.

It's worth mentioning that "texi2any" is the actual program and "makeinfo"
is one of it's aliases. From upstream GNU:

  makeinfo: texi2any
	rm -f $@
	-$(LN_S) texi2any $@

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2024-04-25 21:33:51 +02:00
Michael Pratt
d39c6cd29b
tools/missing-macros: bump version of makeinfo alternative script
Some new releases of GNU tools are checking for a higher version
of makeinfo than what our scripted alternative shows
when working with checked-out sources instead of releases.

Since this is a "fake" makeinfo we can also just fake the version.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-05-04 06:07:27 +02:00
Michael Pratt
e4977f614f
tools/missing-macros: prefer macros provided by gnulib source
These 7 macro files are provided by gnulib,
so we can now replace these statically stored copies
with the latest copy from GNU sources.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-05-04 06:07:27 +02:00
Adrian Schmutzler
0b1cdb7eea treewide: remove empty default cases
There is no apparent reason to have an empty default case.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-17 12:46:19 +02:00
Adrian Schmutzler
240793d175 tools: drop PKG_VERSION for purely local packages
This applies to tools directory what has been done for package/ in
commit 9c170cb92f ("package: drop PKG_VERSION for purely local
packages"):

In the package guidelines, PKG_VERSION is supposed to be used as
"The upstream version number that we're downloading", while
PKG_RELEASE is referred to as "The version of this package Makefile".
Thus, the variables in a strict interpretation provide a clear
distinction between "their" (upstream) version in PKG_VERSION and
"our" (local OpenWrt trunk) version in PKG_RELEASE.

For local (OpenWrt-only) packages, this implies that those will only
need PKG_RELEASE defined, while PKG_VERSION does not apply following
a strict interpretation. While the majority of "our" packages actually
follow that scheme, there are also some that mix both variables or
have one of them defined but keep them at "1".

This is misleading and confusing, which can be observed by the fact
that there typically either one of the variables is never bumped or
the choice of the variable to increase depends on the person doing the
change.

Consequently, this patch aims at clarifying the situation by
consistently using only PKG_RELEASE for "our" packages. For tools/,
only three packages were affected. This fixes two of them, and
leaves the remaining wrt350nv2-builder untouched, as the code there
seems to have some versioning of its own that is treated as upstream
version in PKG_VERSION.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-23 10:54:33 +02:00
Felix Fietkau
e9dd838d86 tools: remove a bunch of unused automake macros
The feeds that use them have been unmaintained for a long time, and
something similar can easily be added as a regular host build package.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44869
2015-03-17 10:11:00 +00:00
Jo-Philipp Wich
6dec519be7 tools: add dummy scripts for help2man and makeinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43957
2015-01-13 07:48:52 +00:00
Jo-Philipp Wich
b32797cc55 missing-macros: add GTKDOC_REBASE macro needed by some newer packages Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26620
2011-04-12 20:19:52 +00:00
Michael Büsch
e99a1560cd Add missing XAW macros
SVN-Revision: 25159
2011-01-27 19:52:36 +00:00
Jo-Philipp Wich
4b8799280f missing-macros: add as-unaligned-access.m4
SVN-Revision: 24878
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich
c208b4a102 missing-macros: add as-compiler-flag.m4 and as-version.m4
SVN-Revision: 24877
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich
1fa3f197f6 missing-macros: add as-ac-expand.m4
SVN-Revision: 24846
2010-12-29 09:39:09 +00:00
Jo-Philipp Wich
aac7b92284 missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
SVN-Revision: 24787
2010-12-22 09:33:06 +00:00
Jo-Philipp Wich
879e5891c1 missing-macros: add xmms.m4, from libflac
SVN-Revision: 24784
2010-12-22 08:04:33 +00:00
Jo-Philipp Wich
2c125b87a7 missing-macros: add missing serial numbers, split acc.m4 into mfx_acc.m4, mfx_cppflags.m4 and mfx_limits.m4
SVN-Revision: 24763
2010-12-22 01:21:06 +00:00
Jo-Philipp Wich
fcc8d6c33f missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
SVN-Revision: 24761
2010-12-22 01:03:17 +00:00
Jo-Philipp Wich
93cb309a05 missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
SVN-Revision: 24757
2010-12-22 00:38:21 +00:00
Jo-Philipp Wich
9ecd833007 missing-macros: add acc.m4, used by ucl and lzo
SVN-Revision: 24756
2010-12-22 00:11:47 +00:00
Jo-Philipp Wich
e3269cc34e introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
SVN-Revision: 24753
2010-12-21 23:50:41 +00:00