install a libspotgen.pc file
* spot/gen/libspotgen.pc.in: New file. * spot/gen/Makefile.am: Install libspotgen.pc. * debian/libspot-dev.install: Update.
This commit is contained in:
parent
887d14dea2
commit
c8b443ba32
3 changed files with 30 additions and 0 deletions
|
|
@ -26,3 +26,18 @@ spotgen_HEADERS = automata.hh formulas.hh
|
|||
lib_LTLIBRARIES = libspotgen.la
|
||||
libspotgen_la_SOURCES = automata.cc formulas.cc
|
||||
libspotgen_la_LDFLAGS = ../libspot.la -no-undefined $(SYMBOLIC_LDFLAGS)
|
||||
|
||||
|
||||
EXTRA_DIST = $(srcdir)/libspotgen.pc.in
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
nodist_pkgconfig_DATA = libspotgen.pc
|
||||
|
||||
libspotgen.pc: $(srcdir)/libspotgen.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)/libspotgen.pc.in > $@.tmp && mv $@.tmp $@
|
||||
|
||||
CLEANFILES = libspotgen.pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue