diff options
author | Ingo Brückl <ib@wupperonline.de> | 2015-05-29 16:08:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-29 20:36:10 +0200 |
commit | 083b1a32d5306c76d2c096d6bc3f1b7510fd7cc9 (patch) | |
tree | dd19f7492e8546f13dcfcc6706a0849c61a91b2e /library.mak | |
parent | e374405d8e821e292ebde827d9b30257b0ff75eb (diff) | |
download | ffmpeg-083b1a32d5306c76d2c096d6bc3f1b7510fd7cc9.tar.gz |
build: add configure option pkgconfigdir
This allows the user to override the directory for the installation
of the pkg-config files (from the default LIBDIR/pkgconfig).
It follows the usual behaviour of Makefiles generated by automake.
Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'library.mak')
-rw-r--r-- | library.mak | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library.mak b/library.mak index e23abd2251..7c260245a4 100644 --- a/library.mak +++ b/library.mak @@ -90,8 +90,8 @@ install-lib$(NAME)-headers: $(addprefix $(SUBDIR),$(HEADERS) $(BUILT_HEADERS)) $$(INSTALL) -m 644 $$^ "$(INCINSTDIR)" install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(FULLNAME).pc - $(Q)mkdir -p "$(LIBDIR)/pkgconfig" - $$(INSTALL) -m 644 $$^ "$(LIBDIR)/pkgconfig" + $(Q)mkdir -p "$(PKGCONFIGDIR)" + $$(INSTALL) -m 644 $$^ "$(PKGCONFIGDIR)" uninstall-libs:: -$(RM) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \ @@ -103,7 +103,7 @@ uninstall-libs:: uninstall-headers:: $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS)) - $(RM) "$(LIBDIR)/pkgconfig/lib$(FULLNAME).pc" + $(RM) "$(PKGCONFIGDIR)/lib$(FULLNAME).pc" -rmdir "$(INCINSTDIR)" endef |