[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: poke.pc and parallel make
From: |
Jose E. Marchesi |
Subject: |
Re: poke.pc and parallel make |
Date: |
Mon, 03 May 2021 00:00:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> 2) The creation of poke.pc (the pkgconfig thing) fails:
>
> make[2]: *** No rule to make target 'poke.pc', needed by 'all-am'.
> Stop.
> make[2]: *** Waiting for unfinished jobs....
>
> I have no idea why it is failing. The whole creation of poke.pc is
> handled by an AX macro in configure.ac:
>
> dnl pkg-config description
> AX_CREATE_PKGCONFIG_INFO('libpoke/poke.pc', , , 'libpoke')
>
> And it is not clear to me how it works.
>
> Somebody knows how AX_CREATE_PKGCONFIG_INFO works and what may be the
> problem??
Never mind, turns out the problem was elsewhere. Fixed it with the
patch below.
Now the parallel build is fixed, phew :)
Salud!
diff --git a/libpoke/Makefile.am b/libpoke/Makefile.am
index 143ce152..d9c29a1b 100644
--- a/libpoke/Makefile.am
+++ b/libpoke/Makefile.am
@@ -201,7 +201,7 @@ libpoke_la_LDFLAGS = -version-info
$(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
# Delete a few files created by AX_CREATE_PKGCONFIG_INFO at make
# distclean.
-MOSTLYCLEANFILES += \
+DISTCLEANFILES += \
poke-uninstalled.pc \
poke.pc \
poke-uninstalled.sh \