mirror of https://github.com/microsoft/vcpkg.git
30 lines
1.5 KiB
Diff
30 lines
1.5 KiB
Diff
diff --git a/Makefile b/Makefile
|
|
index 0bbb078..e98f287 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -958,11 +958,10 @@ $(srcprefix)htslib.map: libhts.so
|
|
rm -f $@.tmp ; \
|
|
fi
|
|
|
|
-install: libhts.a $(BUILT_PROGRAMS) $(BUILT_PLUGINS) $(REF_CACHE_PROGRAMS) installdirs install-$(SHLIB_FLAVOUR) install-pkgconfig
|
|
+install: $(BUILT_PROGRAMS) $(BUILT_PLUGINS) installdirs install-pkgconfig
|
|
$(INSTALL_PROGRAM) $(BUILT_PROGRAMS) $(REF_CACHE_PROGRAMS) $(DESTDIR)$(bindir)
|
|
if test -n "$(BUILT_PLUGINS)"; then $(INSTALL_PROGRAM) $(BUILT_PLUGINS) $(DESTDIR)$(plugindir); fi
|
|
$(INSTALL_DATA) $(SRC)htslib/*.h $(DESTDIR)$(includedir)/htslib
|
|
- $(INSTALL_DATA) libhts.a $(DESTDIR)$(libdir)/libhts.a
|
|
$(INSTALL_MAN) $(SRC)annot-tsv.1 $(SRC)bgzip.1 $(SRC)htsfile.1 $(SRC)tabix.1 $(DESTDIR)$(man1dir)
|
|
if test "x$(REF_CACHE_PROGRAMS)" != "x" ; then \
|
|
$(INSTALL_MAN) $(SRC)ref_cache/ref-cache.1 $(DESTDIR)$(man1dir) ; \
|
|
@@ -970,6 +969,11 @@ install: libhts.a $(BUILT_PROGRAMS) $(BUILT_PLUGINS) $(REF_CACHE_PROGRAMS) insta
|
|
$(INSTALL_MAN) $(SRC)faidx.5 $(SRC)sam.5 $(SRC)vcf.5 $(DESTDIR)$(man5dir)
|
|
$(INSTALL_MAN) $(SRC)htslib-s3-plugin.7 $(DESTDIR)$(man7dir)
|
|
|
|
+install-static: install
|
|
+ $(INSTALL_DATA) libhts.a $(DESTDIR)$(libdir)/libhts.a
|
|
+
|
|
+install-dynamic: install install-$(SHLIB_FLAVOUR)
|
|
+
|
|
installdirs:
|
|
$(INSTALL_DIR) $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/htslib $(DESTDIR)$(libdir) $(DESTDIR)$(man1dir) $(DESTDIR)$(man5dir) $(DESTDIR)$(man7dir) $(DESTDIR)$(pkgconfigdir)
|
|
if test -n "$(plugindir)"; then $(INSTALL_DIR) $(DESTDIR)$(plugindir); fi
|