Commit 800db9c2 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

[buddy] fix libbddx.pc generation

Report from Jeroen Meijer.

* src/Makefile.am (libbddx.pc): Depends on Makefile.  Use a
temporary.  Declare in CLEANFILES instead of DISTCLEANFILES.
parent 172bee49
......@@ -36,12 +36,12 @@ EXTRA_DIST = $(srcdir)/libbddx.pc.in
pkgconfigdir = $(libdir)/pkgconfig
nodist_pkgconfig_DATA = libbddx.pc
libbddx.pc: $(srcdir)/libbddx.pc.in
libbddx.pc: $(srcdir)/libbddx.pc.in Makefile
sed -e 's![@]prefix[@]!$(prefix)!g' \
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
-e 's![@]includedir[@]!$(includedir)!g' \
-e 's![@]libdir[@]!$(libdir)!g' \
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
$(srcdir)/libbddx.pc.in > $@
$(srcdir)/libbddx.pc.in >$@.tmp && mv $@.tmp $@
DISTCLEANFILES = libbddx.pc
CLEANFILES = libbddx.pc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment