]> git.armaanb.net Git - stagit.git/blobdiff - Makefile
do not simplify the history by first-parent
[stagit.git] / Makefile
index 94ffe3002bcdce93ab9057ed2211241112174605..0681a85682a4f6c306bb6a8199748561bd1991b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ DOCPREFIX = ${PREFIX}/share/doc/${NAME}
 SHAREPREFIX = ${PREFIX}/share/${NAME}
 
 LIBCMARK = $(shell pkg-config --silence-errors --libs libcmark-gfm > /dev/null; echo $$?)
-CHROMA = $(shell which chroma; echo $$?)
+CHROMA = $(shell which chroma > /dev/null; echo $$?)
 LIBGIT_INC = -I/usr/local/include
 LIBS = -L/usr/local/lib `pkg-config --libs libgit2`
 
@@ -34,7 +34,8 @@ SRC = \
 COMPATSRC = \
        src/reallocarray.c\
        src/strlcat.c\
-       src/strlcpy.c
+       src/strlcpy.c\
+       src/cp.c
 BIN = \
        stagit\
        stagit-index
@@ -49,7 +50,8 @@ HDR = src/compat.h
 COMPATOBJ = \
        src/reallocarray.o\
        src/strlcat.o\
-       src/strlcpy.o
+       src/strlcpy.o\
+       src/cp.o
 
 OBJ = ${SRC:.c=.o} ${COMPATOBJ}