]> git.saurik.com Git - apple/shell_cmds.git/blob - Makefile
shell_cmds-118.tar.gz
[apple/shell_cmds.git] / Makefile
1 Project = shell_cmds
2
3 Embedded=$(shell tconf --test TARGET_OS_EMBEDDED)
4
5 SubProjects = alias apply basename chroot date dirname echo env expr false \
6 find getopt hostname id jot kill killall lastcomm locate logname mktemp \
7 nice nohup printenv printf pwd renice script shlock sleep \
8 tee test time true uname users w whereis which who xargs yes
9
10 ifeq ($(Embedded),NO)
11 # su requires PAM
12 SubProjects += su
13 endif
14
15 MANPAGES = Manpages/builtin.1
16
17 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
18
19 BUILTIN_LINKS = alias.1 \
20 alloc.1 \
21 bg.1 \
22 bind.1 \
23 bindkey.1 \
24 break.1 \
25 breaksw.1 \
26 builtins.1 \
27 case.1 \
28 cd.1 \
29 chdir.1 \
30 command.1 \
31 complete.1 \
32 continue.1 \
33 default.1 \
34 dirs.1 \
35 do.1 \
36 done.1 \
37 echotc.1 \
38 elif.1 \
39 else.1 \
40 end.1 \
41 endif.1 \
42 endsw.1 \
43 esac.1 \
44 eval.1 \
45 exec.1 \
46 exit.1 \
47 export.1 \
48 fc.1 \
49 fg.1 \
50 fi.1 \
51 filetest.1 \
52 for.1 \
53 foreach.1 \
54 getopts.1 \
55 glob.1 \
56 goto.1 \
57 hash.1 \
58 hashstat.1 \
59 history.1 \
60 hup.1 \
61 if.1 \
62 jobid.1 \
63 jobs.1 \
64 limit.1 \
65 log.1 \
66 logout.1 \
67 ls-F.1 \
68 notify.1 \
69 onintr.1 \
70 popd.1 \
71 pushd.1 \
72 read.1 \
73 readonly.1 \
74 rehash.1 \
75 repeat.1 \
76 return.1 \
77 sched.1 \
78 set.1 \
79 setenv.1 \
80 settc.1 \
81 setty.1 \
82 setvar.1 \
83 shift.1 \
84 source.1 \
85 stop.1 \
86 suspend.1 \
87 switch.1 \
88 telltc.1 \
89 then.1 \
90 times.1 \
91 trap.1 \
92 type.1 \
93 ulimit.1 \
94 umask.1 \
95 unalias.1 \
96 uncomplete.1 \
97 unhash.1 \
98 unlimit.1 \
99 unset.1 \
100 unsetenv.1 \
101 until.1 \
102 wait.1 \
103 where.1 \
104 while.1
105
106 after_install:
107 @echo Installing manpage links...
108 @for manpage in $(BUILTIN_LINKS); do \
109 $(LN) -f $(DSTROOT)/usr/share/man/man1/builtin.1 $(DSTROOT)/usr/share/man/man1/$${manpage}; \
110 done