]> sigrok.org Git - libsigrokdecode.git/commitdiff
libsigrokdecode.pc: Publish decodersdir variable
authorDaniel Elstner <redacted>
Sun, 6 Sep 2015 08:53:54 +0000 (10:53 +0200)
committerDaniel Elstner <redacted>
Sun, 6 Sep 2015 10:18:47 +0000 (12:18 +0200)
This is so that downstream modules can find the install location
of the decoders.

libsigrokdecode.pc.in

index 8a0b2539a45943093796b3f183c9090bcfb18df6..3051145d1ac881b309a51d3a1e9edc72b5272026 100644 (file)
@@ -2,6 +2,10 @@ prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@
+pkgdatadir=${datadir}/@PACKAGE_TARNAME@
+decodersdir=${pkgdatadir}/decoders
 
 Name: libsigrokdecode
 Description: Protocol decoder library of the sigrok logic analyzer software