Changeset 2166 for trunk/kBuild/doc/QuickReference-kmk.txt
- Timestamp:
- Dec 30, 2008, 5:09:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/doc/QuickReference-kmk.txt
r2163 r2166 3 3 =================== 4 4 5 This appendix summarizes the directives, text manipulation functions, and 6 special variables which ``kmk`` understands. 7 8 .. See section Special Built-in Target Names and Summary of Options, for other 9 summaries. 5 This is an attempt at summarizing all directives, functions, special variables, 6 special targets, built-in commands, external commands, and ``kmk`` expressions. 7 Since *all* the features are included, the quickness of this reference can be 8 disputed. ;-) 10 9 11 10 … … 756 755 757 756 758 Built-in Commands 759 ----------------- 760 761 todo 762 757 Commands 758 -------- 759 760 Builtin commands all start with ``kmk_builtin_``, so in order to save space 761 this prefix has been omitted in the table below. All commands comes in an 762 external edition that can be used by/in the shell, these are prefixed ``kmk_``. 763 764 +---------------+-------------------------------------------------------------+ 765 | Command | Description | 766 +===============+=============================================================+ 767 | ``append`` | Append text to a file. The builtin version can output the | 768 | | value of a variable or the commands of a target. | 769 +---------------+-------------------------------------------------------------+ 770 | ``cat`` | The BSD ``cat`` command. | 771 +---------------+-------------------------------------------------------------+ 772 | ``chmod`` | The BSD ``chmod`` command. | 773 +---------------+-------------------------------------------------------------+ 774 | ``cmp`` | The BSD ``cmp`` command. | 775 +---------------+-------------------------------------------------------------+ 776 | ``cp`` | The BSD ``cp`` command with some twaking. | 777 +---------------+-------------------------------------------------------------+ 778 | ``echo`` | The BSD ``echo`` command. | 779 +---------------+-------------------------------------------------------------+ 780 | ``expr`` | The BSD ``expr`` command. | 781 +---------------+-------------------------------------------------------------+ 782 | ``install`` | The BSD ``install`` command with some tweaking. | 783 +---------------+-------------------------------------------------------------+ 784 | ``kDepIDB`` | Extract dependencies from a Visual C++ .IDB file. | 785 +---------------+-------------------------------------------------------------+ 786 | ``ln`` | The BSD ``ln`` command. | 787 +---------------+-------------------------------------------------------------+ 788 | ``md5sum`` | Typical MD5 sum program, custom kBuild version. | 789 +---------------+-------------------------------------------------------------+ 790 | ``mkdir`` | The BSD ``mkdir`` command. | 791 +---------------+-------------------------------------------------------------+ 792 | ``mv`` | The BSD ``mv`` command with some tweaking. | 793 +---------------+-------------------------------------------------------------+ 794 | ``printf`` | The BSD ``printf`` command. | 795 +---------------+-------------------------------------------------------------+ 796 | ``rm`` | The BSD ``rm`` command with some tweaking. | 797 +---------------+-------------------------------------------------------------+ 798 | ``rmdir`` | The BSD ``rmdir`` command with some tweaking. | 799 +---------------+-------------------------------------------------------------+ 800 | ``sleep`` | Typical ``sleep`` program, custom kBuild version. | 801 +---------------+-------------------------------------------------------------+ 802 | ``test`` | The BSD ``test`` program with some tweaking. | 803 +---------------+-------------------------------------------------------------+ 804 805 Some additional external commands are available in the ``kmk`` / ``kBuild`` 806 environment (``kSomething`` command are not prefixed with ``kmk_``): 807 808 +---------------+-------------------------------------------------------------+ 809 | Command | Description | 810 +===============+=============================================================+ 811 | ``kDepPre`` | Extract dependencies from the C/C++ preprocessor output. | 812 +---------------+-------------------------------------------------------------+ 813 | ``kObjCache`` | Simple object file cache program. | 814 +---------------+-------------------------------------------------------------+ 815 | ``ash`` | Almquist's shell (NetBSD variant). | 816 +---------------+-------------------------------------------------------------+ 817 | ``gmake`` | Vanilla GNU ``make`` from same sources as ``kmk``. | 818 +---------------+-------------------------------------------------------------+ 819 | ``redirect`` | Shell avoidance tool. Sets up file descriptors, environment | 820 | | variables and current directory before kicking of program. | 821 +---------------+-------------------------------------------------------------+ 822 | ``sed`` | GNU ``sed`` with some tweaks to avoid involving the shell. | 823 +---------------+-------------------------------------------------------------+ 824 | ``time`` | Stopwatch utility for measuring program execution time(s). | 825 +---------------+-------------------------------------------------------------+ 763 826 764 827
Note:
See TracChangeset
for help on using the changeset viewer.