Commit Diff


commit - 270ebbdc1383b269d75f45d12e8dacc072df8538
commit + 03b6a916452546769de4503dd1bbb3f0f7195c88
blob - 4c9c3d505bea0901519b87431585b5a1faba5646
blob + 50b44e8e8dea7d5f42132ed59e71a65b1836b11e
--- Makefile
+++ Makefile
@@ -6,7 +6,7 @@ SUBDIR = libexec got tog
 SUBDIR += regress
 .endif
 
-.if make(clean)
+.if make(clean) || make(obj)
 SUBDIR += gotweb
 .endif
 
blob - 82b776f2c35989ae889a23211ad7fce4b90420c4
blob + 11cc80d9e6727d8a8aeaf167d29f58c17a248541
--- gotweb/Makefile
+++ gotweb/Makefile
@@ -13,7 +13,8 @@ SRCS =		gotweb.c parse.y blame.c commit_graph.c delta.
 		deflate.c object_create.c delta_cache.c
 MAN =		${PROG}.conf.5
 
-CPPFLAGS +=	-I${.CURDIR}/../include -I${.CURDIR}/../lib -I${PREFIX}/include
+CPPFLAGS +=	-I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR} \
+		-I${PREFIX}/include
 
 LDADD +=	-L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil