freebsd-src/contrib/file
Xin LI 43a5ec4eb4 file: upgrade to 5.41.
MFC after:	2 weeks
2022-01-03 22:03:39 -08:00
..
doc file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
m4 file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
magic file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
python file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
src file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
tests file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
acinclude.m4 file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
aclocal.m4 file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
AUTHORS MFV r354582: file 5.37. 2019-11-10 17:00:23 +00:00
ChangeLog file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
compile MFV r357712: file 5.38. 2020-02-11 07:02:48 +00:00
config.guess MFV r357712: file 5.38. 2020-02-11 07:02:48 +00:00
config.h.in file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
config.sub MFV r357712: file 5.38. 2020-02-11 07:02:48 +00:00
configure file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
configure.ac file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
COPYING MFV r354582: file 5.37. 2019-11-10 17:00:23 +00:00
depcomp MFV r357712: file 5.38. 2020-02-11 07:02:48 +00:00
INSTALL
install-sh file: update to 5.34 2018-08-08 01:33:36 +00:00
libmagic.pc.in MFV r362254: file 5.39. 2020-06-17 07:41:28 +00:00
ltmain.sh file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
MAINT
Makefile.am file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
Makefile.in file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
missing MFV r357712: file 5.38. 2020-02-11 07:02:48 +00:00
NEWS MFV r354582: file 5.37. 2019-11-10 17:00:23 +00:00
README.DEVELOPER file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
RELEASE-PROCEDURE file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
TODO MFV: file 5.33 2018-05-20 05:06:42 +00:00

# How to get started developing

@(#) $File: README.DEVELOPER,v 1.9 2021/09/20 14:04:39 christos Exp $

## Auto files

After checking out the source, run the following:

	autoreconf -f -i
	make distclean	# this can fail if you have not built before
	./configure --disable-silent-rules
	make -j4
	make -C tests check

If you see errors, make sure you have the latest libtool and autoconf
This has been tested with autoconf-2.69 and libtool-2.4.2

## Installing dependencies

If your platform doesn't have the above tools, install the following
packages first.

### Debian

	apt-get install \
	    automake \
	    gcc \
	    libtool \
	    make \
	    python \
	    zlib1g-dev \

See also `.travis.yml`.

### Mac OS X (MacPorts)

	port install \
	    autoconf \
	    automake \
	    libtool \

### Mac OS X (HomeBrew)

	brew install autoconf automake libtool

Tested with:
	autoconf 2.69
	automake 1.16.1
	libtool 2.4.6