diff options
| author | Rex Dieter <rdieter@gmail.com> | 2011-01-13 19:36:21 +0000 |
|---|---|---|
| committer | Rex Dieter <rdieter@gmail.com> | 2011-01-13 19:36:21 +0000 |
| commit | 5f1e13e77032e2bad20a5f06aa0e93c8b4a8fdf4 (patch) | |
| tree | e6435a6a4ed287f4e2bc9001c81201bc19163194 /Makefile.am | |
| parent | d2d6e1fd6ff9a09631cb7c7353cbdfb74f1ccc4e (diff) | |
adjust autotools pkg-config support to match
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 5805b7fe..26e1df0d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,7 +9,7 @@ clean-local: distclean-local: clean-local -pkgconf_dir = /usr/lib/pkgconfig +pkgconf_dir = $(libdir)/pkgconfig install-data-hook: @echo "" @@ -20,7 +20,7 @@ install-data-hook: @echo "Installing: libopenjpeg1.pc $(pkgconf_dir)" @echo "" @$(INSTALL) -d $(pkgconf_dir) - @cp libopenjpeg.pc $(pkgconf_dir)/libopenjpeg1.pc + @cp libopenjpeg1.pc $(pkgconf_dir)/libopenjpeg1.pc @(cd $(pkgconf_dir) && $(RM) libopenjpeg.pc && \ $(LN_S) libopenjpeg1.pc libopenjpeg.pc) |
