Skip to content

Commit

Permalink
use PKG_INSTALLDIR for installing Gem.pc
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Apr 25, 2017
1 parent 5b88970 commit ac23675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ SUBDIRS+=src/Output
SUBDIRS+=extra

#pkg-config support
## this is a bit hacky: we abused $(libdir) to point to .../lib/pd/extra
## so we cannot use it for the pkgconfigdir
## instead, we have to build it crom scratch
#pkgconfigdir = $(libdir)/pkgconfig
pkgconfigdir = ${exec_prefix}/lib/pkgconfig
#pkgconfigdir = ${exec_prefix}/lib/pkgconfig
pkgconfig_DATA = Gem.pc

gemdir=$(pkglibdir)
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ AC_INIT([Gem],[0.93],[zmoelnig@iem.at],[Gem],[http://gem.iem.at])

AM_INIT_AUTOMAKE([1.10 foreign])

PKG_INSTALLDIR(['${exec_prefix}/lib/pkgconfig'])


#
AC_CONFIG_FILES([Makefile abstractions/Makefile])
Expand Down

0 comments on commit ac23675

Please sign in to comment.