]> git.neil.brown.name Git - wiggle.git/commitdiff
Merge branch 'allow-prefix-on-make' of https://github.com/ankon/wiggle
authorNeilBrown <neilb@suse.de>
Tue, 13 May 2014 23:32:08 +0000 (09:32 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 13 May 2014 23:32:08 +0000 (09:32 +1000)
1  2 
Makefile

diff --cc Makefile
index 9fc12a4d4fdf877a626a7e719182d52b2434012d,c9e1b0f390245786572fc82bae7ef6076feda02e..fc2c194ddeb9526cf1abb69ea91e7306561acfb6
+++ b/Makefile
@@@ -8,11 -8,12 +8,12 @@@ CWFLAGS=-Wall -Werror -Wstrict-prototyp
  endif
  CFLAGS=$(OptDbg) -I. $(CWFLAGS)
  
+ PREFIX  = /usr
  # STRIP = -s
 -INSTALL = /usr/bin/install -D
 +INSTALL = /usr/bin/install
  DESTDIR =
- BINDIR  = /usr/bin
- MANDIR  = /usr/share/man
+ BINDIR  = $(PREFIX)/bin
+ MANDIR  = $(PREFIX)/share/man
  MAN1DIR = $(MANDIR)/man1
  MAN5DIR = $(MANDIR)/man5
  LDLIBS = -lncurses