chiark / gitweb /
volume_id: add prefix=, exec_prefix=
authorNeil Williams <codehelp@debian.org>
Wed, 9 Jan 2008 21:36:36 +0000 (22:36 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 9 Jan 2008 21:36:36 +0000 (22:36 +0100)
extras/volume_id/lib/Makefile

index 925eff9..499d486 100644 (file)
@@ -91,6 +91,8 @@ $(SHLIB): $(HEADERS) exported_symbols $(addprefix .shlib/,$(OBJS))
 
 libvolume_id.pc:
        $(E) "  GENPC   " $@
+       $(Q) echo "prefix=${prefix}/usr" >> $@
+       $(Q) echo "exec_prefix=\$${prefix}" >> $@
        $(Q) echo "libdir=${usrlibdir}" >> $@
        $(Q) echo "includedir=${includedir}" >> $@
        $(Q) echo "" >> $@