Commit d2c21cb63e99f396f7700bd80411a1fd8eef8291

Thomas de Grivel 2012-04-21T07:57:37

install doc into /usr/local

diff --git a/Makefile b/Makefile
index 636ba3b..b22eec7 100644
--- a/Makefile
+++ b/Makefile
@@ -16,13 +16,13 @@
 ##
 
 PROG =	git-auth
-
-BINDIR ?= /usr/local/bin
+VER = 0.1
 
 DEBUG ?= -g -DDEBUG
 WARNINGS ?= yes
 
 CDIAGFLAGS ?= -W -Wall -Werror
+LDFLAGS += -W -Wall -Werror
 
 SRCS =	git-auth.c \
 	rule.c rule.h \
@@ -30,7 +30,8 @@ SRCS =	git-auth.c \
 	symtable.c symtable.h \
 	sympackage.c sympackage.h
 
-VER = 0.1
+BINDIR ?= /usr/local/bin
+DOCDIR ?= /usr/local/share/doc
 
 build: ${PROG}