build: criu.pc -- Move it to lib/c

This is (I think) where it was intended to go based on the gitignore
rename, so let's actually generate it and install it to/from there.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Tycho Andersen 2016-02-15 15:26:57 +03:00 committed by Pavel Emelyanov
parent 0ff731a6d0
commit fb0126fda6

View file

@ -17,9 +17,9 @@ install-criu: all $(CRIU-LIB) install-crit
$(Q) sed -e 's,@version@,$(CRTOOLSVERSION),' \
-e 's,@libdir@,$(LIBDIR),' \
-e 's,@includedir@,$(dir $(INCLUDEDIR)),' \
lib/criu.pc.in > criu.pc
lib/criu.pc.in > lib/c/criu.pc
$(Q) mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
$(Q) install -m 644 criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
$(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig
install-man:
$(Q) $(MAKE) -C Documentation install