Commit 14cad21e authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

lib: Generate pkgconfig file

Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0ef4f010
...@@ -25,3 +25,4 @@ arch/x86/syscalls.S ...@@ -25,3 +25,4 @@ arch/x86/syscalls.S
pie/pie.lds.S pie/pie.lds.S
include/config.h include/config.h
protobuf-desc-gen.h protobuf-desc-gen.h
criu.pc
...@@ -266,6 +266,12 @@ install: $(PROGRAM) install-man ...@@ -266,6 +266,12 @@ install: $(PROGRAM) install-man
$(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR) $(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR)
$(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR) $(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR)
$(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR) $(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR)
$(Q) sed -e 's,@version@,$(GITID),' \
-e 's,@libdir@,$(LIBDIR),' \
-e 's,@includedir@,$(dir $(INCLUDEDIR)),' \
lib/criu.pc.in > criu.pc
$(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
$(Q) install -m 644 criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
install-man: install-man:
$(Q) $(MAKE) -C Documentation install $(Q) $(MAKE) -C Documentation install
......
libdir=@libdir@
includedir=@includedir@
Name: CRIU
Description: RPC library for userspace checkpoint and restore
Version: @version@
Libs: -L${libdir} -lcriu
Cflags: -I${includedir}
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