Commit Graph

4828 Commits

Author SHA1 Message Date
Alexey Neyman
51f0e7c649
Merge pull request #952 from dlech/patch-2
debian: include curl and wget in Build-Depends
2018-04-29 11:39:13 -07:00
David Lechner
7372e7449c debian: add curl and wget dependencies
curl and wget are needed as a build dependency so that the auto configuration will see them and set the relevant configuration options. Otherwise, we end up with a ct-ng that can't download anything.

However, curl and wget are not strict runtime dependencies, and we don't need both, so list them as Recommends: curl | wget for the binary package.
2018-04-29 13:30:42 -05:00
Alexey Neyman
fa041df6fe
Merge pull request #949 from antmak/build_centos7
Add compatibility with automake < 1.14
2018-04-29 10:59:35 -07:00
Alexey Neyman
d40964df8c
Merge pull request #951 from dlech/patch-1
debian: no need to override dh_auto_install
2018-04-29 09:53:44 -07:00
David Lechner
0621680a5c
debian: no need to override dh_auto_install
Since fda857aeb8 and d6f5c308f9, there is no longer any need to override dh_auto_install
2018-04-28 22:08:08 -05:00
Anton Maklakov
7efb493d37 Add compatibility with automake < 1.14
As we support CentOS, for example, we have a problem there

    automake: warnings are treated as errors
    kconfig/Makefile.am:26: warning: compiling 'lxdialog/checklist.c' in subdir requires 'AM_PROG_CC_C_O' in
    'configure.ac'
    autoreconf: automake failed with exit status: 1
2018-04-27 15:26:06 +08:00
Alexey Neyman
90d14443d1
Merge pull request #947 from stilor/docker-testing
Docker-based  testing for Linux distros
2018-04-17 22:47:39 -07:00
Alexey Neyman
345dc4161d Testing works for archlinux docker
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 20:24:39 -07:00
Alexey Neyman
0d7822e796 Require libtool be present
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 14:29:37 -07:00
Alexey Neyman
715d6376bf First stab at docker-based test framework
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-15 14:29:09 -07:00
Alexey Neyman
5472517b31
Merge pull request #943 from xavloose/master
modified ax_with_curses_extra.m4 to have better regocnition of <panel.h>
2018-04-14 08:09:27 -07:00
Xavier Loose
b341377995 modified ax_with_curses_extra.m4 to have better regocnition of <panel.h> 2018-04-14 03:28:32 -05:00
Alexey Neyman
c996bd0f1f
Merge pull request #941 from stilor/issue-940
Supply explicit --tag CC
2018-04-13 22:38:34 -07:00
Alexey Neyman
c50c3a923e Supply explicit --tag CC
... to libtool, to allow CC overrides at make stage.

Fixes #940.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-13 21:36:59 -07:00
Alexey Neyman
bb9a11ae4f
Merge pull request #939 from stilor/updates
Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uC…
2018-04-13 12:57:13 -07:00
Alexey Neyman
3f1532713e Update packages: automake, isl, linux, mpfr, musl, newlib, strace, uClibc-ng
Also, fix manage-packages.sh after autotoolization.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-12 08:17:05 -07:00
Alexey Neyman
1b18fd6bdd
Merge pull request #924 from tofutim/feature/fixchecksamps
fix deprecated diff option
2018-04-10 21:29:29 -07:00
Alexey Neyman
ffc638142d
Merge pull request #937 from stilor/build-autotoolize
Autotoolize crosstool-ng
2018-04-10 21:27:07 -07:00
Alexey Neyman
c4608f07f7 Only attempt to chmod bash completion script
... if it has been installed.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-08 20:42:07 -07:00
Alexey Neyman
4e7d0906c1 Support out-of-tree local builds
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 14:39:56 -07:00
Alexey Neyman
7eb903667b Lintian warnings cleanup
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
fda857aeb8 Debian: no longer need to install completion separately
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
20e8402779 Compress the manpage
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
b670aaf1ad Install bash completion into new location
/share/bash-completion/completions rather than /etc/bash_completion.d

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
970811a1c5 Conditionally install bash completion
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bb6c97551f User manual installation
... when running from a release tarball.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
56d785bd00 Docs installation
- Move downloading the pages from a website to a separate script, invoke
  as dist hook
- Install manpage

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
d6f5c308f9 No need for overriding MAKELEVEL anymore
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
355f6f03fb Cannot ignore 'make install' with automake
Automake does not allow us to place the hooks before its generated actions,
and does not allow us to check MAKECMDGOALS, and does not support a mechanism
for disabling make install (such as noinst_SUBDIRS, requested a few times
on automake mailing list). The only way I could preserve the current behavior
is to have a GNUmakefile wrapper that will convert MAKECMDGOAL into a variable
unknown to automake - which seems too convoluted a solution for the problem
being solved.

Hence the approach is to not override anything for --enable-local. It is now
fully handled by selecting different values for CT_xxx_DIR in ct-ng.in; but
at the build-system level, all the variables remain the same. We just don't
support 'make install' in that case anymore; but the ct-ng in the working
copy can be used after a regular 'make' (or 'make all').

Help message for --enable-local updated accordingly.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
f45e29c5ca Restore --enable-local use
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
bc542408ca config.sub/config.guess must either be executable
or be run through shell

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5159cd7bc0 Adjust the paths to match new stuff location
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
5b95b81ea9 Kill gperf vestiges
Generate paths.sh by configure, do away with paths.mk.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
0dc8565c4f Merge steps.mk into ct-ng
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
35b830b552 Ignore/modify the list of installed files to match
what was installed before.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9dc94f3662 Install "pure data" directories
... and update .gitignore. Survives 'make distcheck'.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
69df9ae9dd Remove the need for configure substitutions in scripts
... so that scripts/ directory can be installed verbatim.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
dbe3877285 Install ct-ng
Also, move kconfig.mk into the main driver - we'd want kconfig to be a sub-package
so there's no sense in writing the installation framework for the ct-ng-specific
fragment in an otherwise independent directory.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
d9d4d09026 Enable mconf build
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9a4e17cf9b Add nconf build
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
66821508f4 Fix install --strip-program check after merge
Also, fix the use of AC_CACHE_CHECK in stat format checker.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
7655fc2a3c Cleanup after rebase on master:
gperf detection macros no longer needed, gperf is not used anymore.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
9238b58721 WIP: autotoolization
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:03:17 -07:00
Alexey Neyman
576dcc3fee Remove special handling of dpkg-buildflags
Instead, just honor CFLAGS/CPPFLAGS/LDFLAGS as they're passed down from
configure. This brings the build process in compliance with the
recommended practices.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
d401afbdda Get rid of sub{lib,doc}dir
They don't make sense - using same ct-ng won't work with different versions,
so they cannot coexist in the same prefix.

Also localize other configure variables so that their usage is easier to track.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
1ce2eab963 Simplify the macro for checking stat flavor a bit
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
0bcb67fa52 Use autoconfig-archve/automake tests
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
896bc2d173 Split local helper macros into separate m4's
... which are then picked up via aclocal.

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-04-07 12:02:33 -07:00
Alexey Neyman
7c34226759
Merge pull request #935 from cpackham/check-configure
Makefile.in: check for configure being up to date
2018-03-31 11:38:29 -07:00
Chris Packham
ff04c98b64 Makefile.in: check for configure being up to date
Fixes #934

Add a rule that errors out with a message if configure.ac is newer than
configure. This should catch times where someone is building from the
repo without running bootstrap.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
2018-03-29 15:23:25 +13:00