Skip to content

Commit 550c6b1

Browse files
daviesrobjkbonfield
authored andcommitted
Clarify that the htscodecs submodule is part of htslib
The original message printed when the submodule files are not present could be confusing if HTSlib was being built as an embedded part of SAMtools. Alter the message slightly to make it clearer that the submodule needs to be updated in the htslib checkout. Fixes samtools/samtools#1364
1 parent 086881b commit 550c6b1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ htscodecs/htscodecs/%.h: | htscodecs/htscodecs
422422
;
423423
htscodecs/htscodecs:
424424
@if test -e .git ; then \
425-
printf "\\n\\nError: htscodecs submodule files not present.\\n\
425+
printf "\\n\\nError: htscodecs submodule files not present for htslib.\\n\
426426
Try running: \\n\
427427
git submodule update --init --recursive\\n\
428-
and then re-run make.\\n\\n\\n" ; \
428+
in the top-level htslib directory and then re-run make.\\n\\n\\n" ; \
429429
else \
430430
printf "\\n\\nError: htscodecs submodule files not present and this is not a git checkout.\\n\
431431
You have an incomplete distribution. Please try downloading one of the\\n\

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ included as a submodule. Try running:
319319
320320
git submodule update --init --recursive
321321
322-
to update it, and then re-run configure.
322+
in the top-level htslib directory to update it, and then re-run configure.
323323
])],
324324
[MSG_ERROR([htscodecs submodule files not present.
325325

0 commit comments

Comments
 (0)