common.mk: change default PREFIX
Patch status: rejected
Patch by Vivien Didelot
Long description:
By convention, it is strongly recommended that locally installed software must be placed within /usr/local rather than /usr. This patch defines the default PREFIX variable as /usr/local. See: http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLOCALLOCALHIERARCHY Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
To apply this patch, use:
curl http://cr.i3wm.org/patch/232/raw.patch | git am
b/common.mk
| 21 |
@@ -5,7 +5,7 @@ INSTALL=install |
| 22 |
FLEX=flex |
| 23 |
BISON=bison |
| 24 |
ifndef PREFIX |
| 25 |
- PREFIX=/usr |
| 26 |
+ PREFIX=/usr/local |
| 27 |
endif |
| 28 |
ifndef SYSCONFDIR |
| 29 |
ifeq ($(PREFIX),/usr) |