Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make missing dependencies non fatal at make clean

  • Loading branch information...
commit 75366af9fddd02f424c4e1b84d85911baf35848f 1 parent eb64867
@knopwob authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 config.mk
View
5 config.mk
@@ -37,6 +37,9 @@ INCS := $(shell ${PKG_CONFIG} --cflags ${pkg_config_packs})
CFLAGS += ${INCS}
LDFLAGS += -lm -L${X11LIB} -lXss ${XINERAMALIBS} $(shell ${PKG_CONFIG} --libs ${pkg_config_packs})
+# only make this an fatal error when where not cleaning
+ifneq (clean, $(MAKECMDGOALS))
ifeq (${INCS}, ${EMPTY})
- $(error "pkg-config failed, see errors above")
+$(error "pkg-config failed, see errors above")
+endif
endif
Please sign in to comment.
Something went wrong with that request. Please try again.