MAKE-FIRST-EXISTING-TARGET - Online Linux Manual PageSection : 1
Updated : 2014-05-13
Source : perl v5.18.2
Note : User Contributed Perl Documentation

NAMEmake−first−existing−target − runs make on one of several targets

SYNOPSISmake-first-existing-target [−c cmd] target1 [target2 ...] \*(-- [make\-options]

DESCRIPTIONThe design of make(1) causes difficulty when you know that a Makefile probably has one of several standardized target names, and want build machinery to run exactly one of them, propagating any errors. make(1) will exit 2 if a target does not exist, but an existing target may also exit 2 due to some other failure. Makefiles cannot be reliably parsed to find targets by anything less Turing-complete than make, and make itself does not provide a way to enumerate the targets in a Makefile. It may not even be possible to enumerate the targets in a Makefile without executing part of it. (Proof of this is left as an exercise for the reader.) This program avoids the problems described above, by attempting to call each specified target in turn, until it observes make actually doing something for one of them.

OPTIONS−c cmd This can be used to specify the make command to run. Default is make.

EXIT STATUSThe exit status is 0 if at least one target existed and was successfully run, and nonzero otherwise.

AUTHORJoey Hess <joey@kitenet.net>

LICENSESame as GNU make.

SEE ALSOmake(1)
0
Johanes Gumabo
Data Size   :   4,841 byte
man-make-first-existing-target.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   6 / 175,530
Visitor ID   :     :  
Visitor IP   :   18.117.168.40   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|make-first-existing-target.1|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|make-first-existing-target.1|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|make-first-existing-target.1|43|br══─}─══|'br══─}─══ )         (htmlprn|149|make-first-existing-target.1|43|'br══─}─══ |'br══─}─══ )         (rof_escape_sequence|91|make-first-existing-target.1|145|\*(-- [make\-options] |make-first-existing-target [\-c cmd] target1 [target2 ...] \*(-- [make\-options] )