[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 858
  • Last Modified:

What's the meaning of fi in Makefile

I am new to Unix makefile and need some clarification for the following sentence:

if [ -d c/rel/inc ]; then    mkdir c/rel/inc;    cp -u -f c/inc/* c/rel/inc; fi

What's the meaning of the last fi?
0
chenzhepeter
Asked:
chenzhepeter
1 Solution
 
sunnycoderCommented:
Hi chenzhepeter,

fi indicates end of if block
if condition
then
...
else
...
fi

Cheers!
Sunnycoder
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now