mirror of
https://github.com/file/file.git
synced 2024-11-23 18:05:31 +08:00
Sync README.DEVELOPER and .travis.yml
Minimize the number and size of dependencies and remove redundant packages from the list.
This commit is contained in:
parent
c8c11403a1
commit
82788554a3
@ -4,7 +4,7 @@ compiler:
|
|||||||
- clang
|
- clang
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq automake autoconf libtool make zlib1g-dev python
|
- sudo apt-get install -qq automake autotools-dev make libtool python zlib1g-dev
|
||||||
script:
|
script:
|
||||||
- autoreconf -f -i
|
- autoreconf -f -i
|
||||||
- ./configure --disable-silent-rules
|
- ./configure --disable-silent-rules
|
||||||
|
@ -1,44 +1,39 @@
|
|||||||
= How to get started developing
|
# How to get started developing
|
||||||
|
|
||||||
@(#) $File: README.DEVELOPER,v 1.1 2014/02/18 18:51:51 kim Exp $
|
@(#) $File: README.DEVELOPER,v 1.2 2014/03/06 16:57:57 christos Exp $
|
||||||
|
|
||||||
== Auto files
|
## Auto files
|
||||||
|
|
||||||
After checking out the source, run the following:
|
After checking out the source, run the following:
|
||||||
|
|
||||||
libtoolize
|
autoreconf -f -i
|
||||||
aclocal
|
./configure --disable-silent-rules
|
||||||
autoheader
|
make -j4
|
||||||
automake --add-missing
|
make -C tests check
|
||||||
autoconf
|
|
||||||
|
|
||||||
[christos: I run autoreconf -f -i instead of all the above]
|
|
||||||
|
|
||||||
./configure
|
|
||||||
|
|
||||||
|
|
||||||
== Installing dependencies
|
## Installing dependencies
|
||||||
|
|
||||||
If your platform doesn't have the above tools, install the following
|
If your platform doesn't have the above tools, install the following
|
||||||
packages first.
|
packages first.
|
||||||
|
|
||||||
=== Debian
|
### Debian
|
||||||
|
|
||||||
apt-get install \
|
apt-get install \
|
||||||
autoconf \
|
|
||||||
automake \
|
automake \
|
||||||
autotools-dev \
|
autotools-dev \
|
||||||
build-essential \
|
gcc \
|
||||||
libltdl-dev \
|
make \
|
||||||
libtool \
|
libtool \
|
||||||
libtool-doc \
|
python \
|
||||||
|
zlib1g-dev \
|
||||||
|
|
||||||
=== Mac OS X (MacPorts)
|
See also `.travis.yml`.
|
||||||
|
|
||||||
|
### Mac OS X (MacPorts)
|
||||||
|
|
||||||
port install \
|
port install \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
libtool \
|
libtool \
|
||||||
|
|
||||||
Note that `libtoolize` is called `glibtoolize`.
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user