summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-05 21:09:30 -0400
committermidipix <writeonce@midipix.org>2016-05-05 21:15:45 -0400
commitae90c39a29a715139e4d47c253433b293a23a985 (patch)
tree21cc2ec5f334714356ca18838ae4a4129ff23f1e
parentb8cbcb028a66fde4b3bc5b83ad07b3be6b93d11b (diff)
downloadslibtool-ae90c39a29a715139e4d47c253433b293a23a985.tar.bz2
slibtool-ae90c39a29a715139e4d47c253433b293a23a985.tar.xz
build system: always install headers with install-static and install-shared.
-rw-r--r--Makefile.in4
-rw-r--r--project/custom.mk10
2 files changed, 2 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index d96bf5e..2314ebb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -121,19 +121,19 @@ app.tag: package-app
install-libs: package-install-shared
install-libs: package-install-static
-install-libs: package-install-headers
install-headers:package-shared package-static
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
cp $(API_HEADERS) $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
install-shared: shared install-lib install-soname install-solink install-implib
+install-shared: install-headers
install-lib: shared
mkdir -p $(DESTDIR)$(LIBDIR)
cp $(SHARED_LIB) $(DESTDIR)$(LIBDIR)
-install-static: static
+install-static: static install-headers
mkdir -p $(DESTDIR)$(LIBDIR)
cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
diff --git a/project/custom.mk b/project/custom.mk
index 056855d..b0adcdd 100644
--- a/project/custom.mk
+++ b/project/custom.mk
@@ -24,16 +24,6 @@ package-shared: shared
package-install-shared: install-shared
endif
-ifneq ($(DISABLE_STATIC),yes)
-package-install-headers:install-headers
-
-else ifneq ($(DISABLE_SHARED),yes)
-package-install-headers:install-headers
-
-else
-package-install-headers:
-endif
-
ifeq ($(ALL_STATIC),yes)