summaryrefslogtreecommitdiffstats
path: root/text-utils/Makemodule.am
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: add BUILD_{COL,COLCRT,COLRM,COLUMN,HEXDUMP,REV,TAILF}Karel Zak2014-05-211-20/+28
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: Merge hexsyntax.c into hexdump.cOndrej Oprala2013-12-021-1/+0Star
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* hexdump: add the prefix 'hexdump-' to {conv,display,parse}.cOndrej Oprala2013-12-021-3/+3
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* build-sys: use tinfo *or* ncurses for more(1), ul(1) and setterm(1)Karel Zak2013-10-041-5/+20
| | | | | | | | | | | | * it seems that we don't have to link the utils with ncurses, tinfo is enough. This change saves one unnecessary dependence. * libtinfo is also distributed with pkg-config files, so we can use PKG_CHECK_MODULES() as a primary source for LIBS and CFLAGS. * add TINFO_CFLAGS (although it's probably always empty) Signed-off-by: Karel Zak <kzak@redhat.com>
* clean up term lib handlingMike Frysinger2013-09-301-20/+7Star
| | | | | | | | | | | | | | | | | The ncurses package has been providing pkg-config files for a while now. So let's start using them to get the proper linker & compiler flags. It can make a difference when ncurses is configured in a way that requires extra link time flags but util-linux doesn't provide them, or when the headers live in a weird place and util-linux can't find them. Since the NCURSES_LIBS is always defined for the Makefile, there's no need to gate on the HAVE_NCURSES conditional. When it's disabled, the var will simply be empty. With a minor tweak to how tinfo is handled, we can do the same thing -- we just always use TINFO_LIBS in the Makefile's. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* build-sys: use -Wno-clobbered for some BSD crapKarel Zak2013-05-071-0/+2
| | | | | | | | * extend UL_WARN_ADD() for accept non-default CFLAGS variable * add BSD_WARN_CFLAGS with -Wno-clobbered * use all this for pg(1) and more(1) Signed-off-by: Karel Zak <kzak@redhat.com>
* more: allow to compile as non-interactive test_more programKarel Zak2013-01-241-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-{more,ul,pg}Karel Zak2013-01-241-22/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* pg: check numeric user inputsSami Kerola2012-10-151-2/+2
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: always use default $(LDADD)Karel Zak2012-07-091-12/+12
| | | | | | | | The global variable $(LDADD) is always used if program_LDADD is not specified. Let's use $LDADD everywhere to avoid exceptions for people who need to specify global $LDADD. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert lib/ to libcommon.laKarel Zak2012-06-261-15/+10Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert text-utils/ to moduleKarel Zak2012-06-261-0/+86
Signed-off-by: Karel Zak <kzak@redhat.com>