1

As far as colon is concerned i understand that is is used in certain situations as a null and as a parameter of expansion for substring, but can someone explain me this:

do_qc: $(STAGE1_OUT_FILES)

More examples:

print_stage0_files: setup_dirs
  $(info * $(SETUP_DATA_FILES))

Or

quality_filtering: setup $(STAGE1_OUT_FILES)
  $(call p_info,[DONE] Quality filtering)

Shebang of the script:

#!/bin/sh
  • 2
    Looks like a Makefile. – choroba Mar 6 '16 at 19:48
  • i don't really know since it is in the middle of a shell script, furthermore in another example of it in the same script a function is executed: [quality_filtering: setup $(STAGE1_OUT_FILES) ] [$(call p_info,[DONE] Quality filtering) ] – Daniel Moreira Mar 6 '16 at 20:18
  • Please, show the shebang line of the script, and some more examples. Also, update the question, don't post code to comments. $(call is definitely a Makefile syntax. – choroba Mar 6 '16 at 20:32
  • 1
    If it's in the middle of the script and the shebang is as written, then most probably it's a shell script with an inlined makefile. – Gombai Sándor Mar 7 '16 at 0:55
  • Yeah, from what i've been searching you seem to be completely right. Thanks for your help i wasn't really seeing that possibility :) – Daniel Moreira Mar 7 '16 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.