diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2016-09-10 09:36:22 +0300 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2016-09-10 09:36:22 +0300 |
commit | 522d13a42cf30ebb6fceaa695d5dcd359f4670db (patch) | |
tree | 03c814496ed1c781ed7cb11f99d9afa3ea14e64e | |
parent | 6e6b00167e2a6aa780ddccc59dc9600500540751 (diff) |
install .pc file
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index eb804d7..9fcdc23 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,5 +9,6 @@ endif SUBDIRS = \ src \ include \ + pkgconfig \ $(EXTRA_DIRS) diff --git a/configure.ac b/configure.ac index e93643d..3336c1a 100644 --- a/configure.ac +++ b/configure.ac @@ -22,11 +22,16 @@ if test "x${prefix}" = "xNONE" ; then sysconfdir="/etc"; fi +pkgconfigdir=${libdir}/pkgconfig +AC_SUBST(pkgconfigdir) + AC_CONFIG_FILES([Makefile src/Makefile include/Makefile + pkgconfig/Makefile tests/Makefile ]) -AC_OUTPUT +AC_OUTPUT([pkgconfig/libpainter.pc +]) |