Answer the question
In order to leave comments, you need to log in
Makefile I can't figure out what the error is, do I remove the condition and switch to another one?
I can’t understand what the error is, with tabulation everything is fine, if I remove the condition it goes to the bottom one, I remove the bottom one, it goes even lower, the error starts line number 7 is if ENABLE_MAN
Makefile: 7: *** missing separator. Stop.
ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = src
if ENABLE_MAN
SUBDIRS += doc/man
endif
.PHONY: deploy FORCE
export PYTHONPATH
if BUILD_BITCOIN_LIBS
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libinvestcoinconsensus.pc
endif
Answer the question
In order to leave comments, you need to log in
The make language does not have a if ...
. There are all sorts of others . Automake seems to work ifdef ...
if ...
for you, but to get a working Makefile, the original Makefile.am needs to be run through automake, and the resulting Makefile.in needs to be run through configure.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question