Re: [PATCH 06/10] build: rebuild .pc files when configure status changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/10/10 23:47, Jan Engelhardt wrote:
Signed-off-by: Jan Engelhardt<jengelh@xxxxxxxxxx>
---
  Makefile.am |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 35bfbe2..6d5b8dd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,8 @@ DIST_SUBDIRS = src include examples
  pkgconfigdir = $(libdir)/pkgconfig
  pkgconfig_DATA = libmnl.pc

+${pkgconfig_DATA}: ${top_builddir}/config.status
+
  $(OBJECTS): libtool
  libtool: $(LIBTOOL_DEPS)
  	$(SHELL) ./config.status --recheck

IIRC {} is a bashism. () is more portable for automake.

AYJ
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux