svenxie / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Clean up the makefile #534

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
One commit, available here: 
https://github.com/wereHamster/redis/tree/makefile-install-cleanup. Applies 
cleanly to master as well as the 2.4 branch.

Add support for DESTDIR and use `install` instead of `cp` / `mkdir`.
Also remove useless variable definitions, define PROGRAMS as the set
of binaries we're building and use $@ instead of the target name
directly.

Original issue reported on code.google.com by Tomas.Ca...@gmail.com on 22 Apr 2011 at 5:44