Commit Graph

17 Commits

Author SHA1 Message Date
Mattias Andrée
f9208f9af8 Don't strip binaries
Let the package manager do it. You don't want to
force stripping, the symbols are useful for debugging.

Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 19:02:22 +02:00
Mattias Andrée
1099dad9d0 Add a missed DESTDIR
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:58:45 +02:00
Mattias Andrée
d894a3a475 Improve build rules
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:56:31 +02:00
Mattias Andrée
3d966e8184 Use = and not ?= for PREFIX
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:51:10 +02:00
Mattias Andrée
f30c75c224 Add clean rule
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:50:08 +02:00
Mattias Andrée
05451b7db8 Fix install rule and add uninstall rule
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:48:07 +02:00
Mattias Andrée
bbdcd52696 Do not look for rustc
You need cargo, not rustc, and cargo requires rustc,
so checking for rustc is incorrect. And the user will
know that she needs cargo when the command cannot be
find, so why look for it and add extra dependenices
just for that.

Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:40:04 +02:00
Mattias Andrée
54ed5f6756 Work around a bug in cargo
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:38:47 +02:00
Mattias Andrée
a77230a6e8 Proper install support
Use quotes to support spaces and such.
   Use -- to support dashes.

   And most important:

     Use DESTDIR to support installing into a staging directory.
     This is useful for packaging and verifying the install.

Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-04 13:18:13 +02:00
Ben S
1e33f9c055 Correct Nightly errors in Makefile 2016-02-10 18:21:49 +00:00
lilydjwg
9eac99cfd8 Makefile: be compatible with BSD and OS X 2015-07-31 13:11:32 +08:00
lilydjwg
cc1594360a Use the "install" program to install 2015-07-30 18:28:06 +08:00
Ben S
4635481f13 Update man path in Makefile 2015-06-07 16:52:28 +01:00
Ben S
8ce694982c Add build-no-git make command 2015-06-07 14:35:56 +01:00
David Celis
714b9c1fbe Add simple Makefile to build and install exa
This patch adds a Makefile that will build and install exa along with
its recently added manual page. This provides a little bit of a nicer
installation path while we wait for Cargo to, hopefully, provide its own
built-in installation method for packages that contain binaries.

Signed-off-by: David Celis <me@davidcel.is>
2015-02-24 10:48:39 -05:00
Ben S
a8465fed45 Move to Cargo 2014-06-28 17:24:20 +01:00
Ben S
55280a5308 Add a simple Makefile 2014-06-23 18:30:08 +01:00