aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-02-19 12:44:38 +0000
committerMåns Rullgård <mans@mansr.com>2006-02-19 12:44:38 +0000
commitc7bb67c485c7685e2a6634a0ebabbbf9eb2f4747 (patch)
tree4667f5afff11e3eaf165d2426e2f0019f8db5473 /common.mak
parentc2ca19d7f914c2856b373a088c6d1b5b607b3475 (diff)
downloadffmpeg-c7bb67c485c7685e2a6634a0ebabbbf9eb2f4747.tar.gz
Create installation directories in the common install-* targets.
This is needed for components that override install locations (libpostproc). Originally committed as revision 5036 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index 4bc8b118b5..e09cadd0c8 100644
--- a/common.mak
+++ b/common.mak
@@ -71,6 +71,7 @@ install: install-libs install-headers
install-libs: $(INSTLIBTARGETS)
install-lib-shared: $(SLIBNAME)
+ install -d "$(libdir)"
ifeq ($(CONFIG_WIN32),yes)
install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
else
@@ -83,9 +84,12 @@ else
endif
install-lib-static: $(LIB)
+ install -d "$(libdir)"
install -m 644 $(LIB) "$(libdir)"
install-headers:
+ install -d "$(incdir)"
+ install -d "$(libdir)/pkgconfig"
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(incdir)"
install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(libdir)/pkgconfig"