mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Fix criu.pc version
Use CRTOOLSVERSION instead of GITID to write criu.pc version. With GITID, criu.pc had version '0' when built from tarballs. Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
cab42bca65
commit
4c5b23e52c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -339,7 +339,7 @@ install-criu: $(PROGRAM) $(CRIU-LIB) install-crit
|
|||
$(Q) install -m 644 scripts/sd/criu.service $(DESTDIR)$(SYSTEMDUNITDIR)
|
||||
$(Q) mkdir -p $(DESTDIR)$(LOGROTATEDIR)
|
||||
$(Q) install -m 644 scripts/logrotate.d/criu-service $(DESTDIR)$(LOGROTATEDIR)
|
||||
$(Q) sed -e 's,@version@,$(GITID),' \
|
||||
$(Q) sed -e 's,@version@,$(CRTOOLSVERSION),' \
|
||||
-e 's,@libdir@,$(LIBDIR),' \
|
||||
-e 's,@includedir@,$(dir $(INCLUDEDIR)),' \
|
||||
lib/criu.pc.in > criu.pc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue