1 #
   2 # This file and its contents are supplied under the terms of the
   3 # Common Development and Distribution License ("CDDL"), version 1.0.
   4 # You may only use this file in accordance with the terms of version
   5 # 1.0 of the CDDL.
   6 #
   7 # A full copy of the text of the CDDL should have accompanied this
   8 # source.  A copy of the CDDL is also available via the Internet
   9 # at http://www.illumos.org/license/CDDL.
  10 #
  11 
  12 #
  13 # Copyright 2011, Richard Lowe
  14 # Copyright 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
  15 # Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  16 #
  17 
  18 include         $(SRC)/Makefile.master
  19 
  20 MANSECT=        1
  21 
  22 MANFILES=       acctcom.1                       \
  23                 adb.1                           \
  24                 addbib.1                        \
  25                 alias.1                         \
  26                 allocate.1                      \
  27                 amt.1                           \
  28                 appcert.1                       \
  29                 apptrace.1                      \
  30                 apropos.1                       \
  31                 ar.1                            \
  32                 arch.1                          \
  33                 asa.1                           \
  34                 at.1                            \
  35                 atq.1                           \
  36                 atrm.1                          \
  37                 audioconvert.1                  \
  38                 audioctl.1                      \
  39                 audioplay.1                     \
  40                 audiorecord.1                   \
  41                 audiotest.1                     \
  42                 auths.1                         \
  43                 awk.1                           \
  44                 banner.1                        \
  45                 basename.1                      \
  46                 bc.1                            \
  47                 bdiff.1                         \
  48                 bfs.1                           \
  49                 break.1                         \
  50                 builtin.1                       \
  51                 cal.1                           \
  52                 calendar.1                      \
  53                 cancel.1                        \
  54                 cat.1                           \
  55                 cd.1                            \
  56                 cdrw.1                          \
  57                 checknr.1                       \
  58                 chgrp.1                         \
  59                 chkey.1                         \
  60                 chmod.1                         \
  61                 chown.1                         \
  62                 ckdate.1                        \
  63                 ckgid.1                         \
  64                 ckint.1                         \
  65                 ckitem.1                        \
  66                 ckkeywd.1                       \
  67                 ckpath.1                        \
  68                 ckrange.1                       \
  69                 ckstr.1                         \
  70                 cksum.1                         \
  71                 cktime.1                        \
  72                 ckuid.1                         \
  73                 ckyorn.1                        \
  74                 clear.1                         \
  75                 cmp.1                           \
  76                 col.1                           \
  77                 comm.1                          \
  78                 command.1                       \
  79                 compress.1                      \
  80                 cp.1                            \
  81                 cpio.1                          \
  82                 cputrack.1                      \
  83                 crle.1                          \
  84                 crontab.1                       \
  85                 crypt.1                         \
  86                 csh.1                           \
  87                 csplit.1                        \
  88                 ctags.1                         \
  89                 ctrun.1                         \
  90                 ctstat.1                        \
  91                 ctwatch.1                       \
  92                 cut.1                           \
  93                 date.1                          \
  94                 dc.1                            \
  95                 deallocate.1                    \
  96                 deroff.1                        \
  97                 dhcpinfo.1                      \
  98                 diff.1                          \
  99                 diff3.1                         \
 100                 diffmk.1                        \
 101                 digest.1                        \
 102                 dircmp.1                        \
 103                 dis.1                           \
 104                 disown.1                        \
 105                 dispgid.1                       \
 106                 dispuid.1                       \
 107                 dos2unix.1                      \
 108                 download.1                      \
 109                 dpost.1                         \
 110                 du.1                            \
 111                 dump.1                          \
 112                 dumpcs.1                        \
 113                 echo.1                          \
 114                 ed.1                            \
 115                 egrep.1                         \
 116                 eject.1                         \
 117                 elfdump.1                       \
 118                 elfedit.1                       \
 119                 elfsign.1                       \
 120                 elfwrap.1                       \
 121                 enable.1                        \
 122                 encrypt.1                       \
 123                 enhance.1                       \
 124                 env.1                           \
 125                 eqn.1                           \
 126                 exec.1                          \
 127                 exit.1                          \
 128                 expand.1                        \
 129                 expr.1                          \
 130                 exstr.1                         \
 131                 factor.1                        \
 132                 fdformat.1                      \
 133                 fgrep.1                         \
 134                 file.1                          \
 135                 filebench.1                     \
 136                 filesync.1                      \
 137                 find.1                          \
 138                 finger.1                        \
 139                 fmt.1                           \
 140                 fmtmsg.1                        \
 141                 fold.1                          \
 142                 ftp.1                           \
 143                 ftpcount.1                      \
 144                 ftpwho.1                        \
 145                 gcore.1                         \
 146                 gencat.1                        \
 147                 genmsg.1                        \
 148                 getconf.1                       \
 149                 getfacl.1                       \
 150                 getlabel.1                      \
 151                 getopt.1                        \
 152                 getoptcvt.1                     \
 153                 getopts.1                       \
 154                 gettext.1                       \
 155                 gettxt.1                        \
 156                 getzonepath.1                   \
 157                 glob.1                          \
 158                 gprof.1                         \
 159                 grep.1                          \
 160                 groups.1                        \
 161                 hash.1                          \
 162                 head.1                          \
 163                 history.1                       \
 164                 hostid.1                        \
 165                 hostname.1                      \
 166                 iconv.1                         \
 167                 indxbib.1                       \
 168                 Intro.1                         \
 169                 ipcrm.1                         \
 170                 ipcs.1                          \
 171                 isainfo.1                       \
 172                 isalist.1                       \
 173                 jobs.1                          \
 174                 join.1                          \
 175                 kbd.1                           \
 176                 kdestroy.1                      \
 177                 keylogin.1                      \
 178                 keylogout.1                     \
 179                 kill.1                          \
 180                 kinit.1                         \
 181                 klist.1                         \
 182                 kmdb.1                          \
 183                 kmfcfg.1                        \
 184                 kpasswd.1                       \
 185                 krb5-config.1                   \
 186                 ksh93.1                         \
 187                 ktutil.1                        \
 188                 lari.1                          \
 189                 last.1                          \
 190                 lastcomm.1                      \
 191                 ld.1                            \
 192                 ldap.1                          \
 193                 ldapdelete.1                    \
 194                 ldaplist.1                      \
 195                 ldapmodify.1                    \
 196                 ldapmodrdn.1                    \
 197                 ldapsearch.1                    \
 198                 ldd.1                           \
 199                 ld.so.1.1                       \
 200                 let.1                           \
 201                 lex.1                           \
 202                 lgrpinfo.1                      \
 203                 limit.1                         \
 204                 line.1                          \
 205                 list_devices.1                  \
 206                 listusers.1                     \
 207                 ln.1                            \
 208                 loadkeys.1                      \
 209                 locale.1                        \
 210                 localedef.1                     \
 211                 logger.1                        \
 212                 login.1                         \
 213                 logname.1                       \
 214                 logout.1                        \
 215                 look.1                          \
 216                 lookbib.1                       \
 217                 lorder.1                        \
 218                 lp.1                            \
 219                 lpstat.1                        \
 220                 ls.1                            \
 221                 m4.1                            \
 222                 mac.1                           \
 223                 mach.1                          \
 224                 madv.so.1.1                     \
 225                 mail.1                          \
 226                 mailcompat.1                    \
 227                 mailq.1                         \
 228                 mailstats.1                     \
 229                 mailx.1                         \
 230                 makekey.1                       \
 231                 man.1                           \
 232                 mconnect.1                      \
 233                 mcs.1                           \
 234                 mdb.1                           \
 235                 mesg.1                          \
 236                 mkdir.1                         \
 237                 mkmsgs.1                        \
 238                 mktemp.1                        \
 239                 moe.1                           \
 240                 more.1                          \
 241                 mpss.so.1.1                     \
 242                 msgcc.1                         \
 243                 msgcpp.1                        \
 244                 msgcvt.1                        \
 245                 msgfmt.1                        \
 246                 msggen.1                        \
 247                 msgget.1                        \
 248                 mt.1                            \
 249                 mv.1                            \
 250                 nawk.1                          \
 251                 nc.1                            \
 252                 nca.1                           \
 253                 ncab2clf.1                      \
 254                 ncakmod.1                       \
 255                 newform.1                       \
 256                 newgrp.1                        \
 257                 news.1                          \
 258                 newtask.1                       \
 259                 nice.1                          \
 260                 nl.1                            \
 261                 nm.1                            \
 262                 nohup.1                         \
 263                 nroff.1                         \
 264                 od.1                            \
 265                 on.1                            \
 266                 optisa.1                        \
 267                 pack.1                          \
 268                 pagesize.1                      \
 269                 pargs.1                         \
 270                 passwd.1                        \
 271                 paste.1                         \
 272                 pathchk.1                       \
 273                 pax.1                           \
 274                 pfexec.1                        \
 275                 pg.1                            \
 276                 pgrep.1                         \
 277                 pkginfo.1                       \
 278                 pkgmk.1                         \
 279                 pkgparam.1                      \
 280                 pkgproto.1                      \
 281                 pkgtrans.1                      \
 282                 pktool.1                        \
 283                 plabel.1                        \
 284                 plgrp.1                         \
 285                 plimit.1                        \
 286                 pmadvise.1                      \
 287                 pmap.1                          \
 288                 postio.1                        \
 289                 postprint.1                     \
 290                 postreverse.1                   \
 291                 ppgsz.1                         \
 292                 ppriv.1                         \
 293                 pr.1                            \
 294                 praliases.1                     \
 295                 prctl.1                         \
 296                 preap.1                         \
 297                 prex.1                          \
 298                 print.1                         \
 299                 printf.1                        \
 300                 priocntl.1                      \
 301                 proc.1                          \
 302                 prof.1                          \
 303                 profiles.1                      \
 304                 projects.1                      \
 305                 ps.1                            \
 306                 ptree.1                         \
 307                 pvs.1                           \
 308                 pwd.1                           \
 309                 ranlib.1                        \
 310                 rcapstat.1                      \
 311                 rcp.1                           \
 312                 rdist.1                         \
 313                 read.1                          \
 314                 readonly.1                      \
 315                 refer.1                         \
 316                 regcmp.1                        \
 317                 renice.1                        \
 318                 rev.1                           \
 319                 rlogin.1                        \
 320                 rm.1                            \
 321                 rmformat.1                      \
 322                 rmmount.1                       \
 323                 roffbib.1                       \
 324                 roles.1                         \
 325                 rpcgen.1                        \
 326                 rsh.1                           \
 327                 runat.1                         \
 328                 rup.1                           \
 329                 ruptime.1                       \
 330                 rusers.1                        \
 331                 rwho.1                          \
 332                 sar.1                           \
 333                 scp.1                           \
 334                 script.1                        \
 335                 sdiff.1                         \
 336                 sed.1                           \
 337                 set.1                           \
 338                 setfacl.1                       \
 339                 setlabel.1                      \
 340                 setpgrp.1                       \
 341                 sftp.1                          \
 342                 shcomp.1                        \
 343                 shell_builtins.1                \
 344                 shift.1                         \
 345                 size.1                          \
 346                 sleep.1                         \
 347                 smbutil.1                       \
 348                 soelim.1                        \
 349                 sort.1                          \
 350                 sortbib.1                       \
 351                 sotruss.1                       \
 352                 spell.1                         \
 353                 split.1                         \
 354                 srchtxt.1                       \
 355                 ssh.1                           \
 356                 ssh-add.1                       \
 357                 ssh-agent.1                     \
 358                 ssh-http-proxy-connect.1        \
 359                 ssh-keygen.1                    \
 360                 ssh-keyscan.1                   \
 361                 ssh-socks5-proxy-connect.1      \
 362                 strchg.1                        \
 363                 strings.1                       \
 364                 strip.1                         \
 365                 stty.1                          \
 366                 sum.1                           \
 367                 suspend.1                       \
 368                 svcprop.1                       \
 369                 svcs.1                          \
 370                 symorder.1                      \
 371                 sys-suspend.1                   \
 372                 tabs.1                          \
 373                 tail.1                          \
 374                 talk.1                          \
 375                 tar.1                           \
 376                 tbl.1                           \
 377                 tcopy.1                         \
 378                 tee.1                           \
 379                 telnet.1                        \
 380                 test.1                          \
 381                 tftp.1                          \
 382                 time.1                          \
 383                 times.1                         \
 384                 timex.1                         \
 385                 tip.1                           \
 386                 tnfdump.1                       \
 387                 tnfxtract.1                     \
 388                 touch.1                         \
 389                 tput.1                          \
 390                 tr.1                            \
 391                 trap.1                          \
 392                 troff.1                         \
 393                 true.1                          \
 394                 truss.1                         \
 395                 tsort.1                         \
 396                 tty.1                           \
 397                 type.1                          \
 398                 typeset.1                       \
 399                 ul.1                            \
 400                 umask.1                         \
 401                 uname.1                         \
 402                 unifdef.1                       \
 403                 uniq.1                          \
 404                 units.1                         \
 405                 unix2dos.1                      \
 406                 uptime.1                        \
 407                 vacation.1                      \
 408                 vgrind.1                        \
 409                 volcheck.1                      \
 410                 volrmmount.1                    \
 411                 w.1                             \
 412                 wait.1                          \
 413                 wc.1                            \
 414                 whatis.1                        \
 415                 which.1                         \
 416                 who.1                           \
 417                 whocalls.1                      \
 418                 whois.1                         \
 419                 write.1                         \
 420                 xargs.1                         \
 421                 xgettext.1                      \
 422                 xstr.1                          \
 423                 yacc.1                          \
 424                 yes.1                           \
 425                 ypcat.1                         \
 426                 ypmatch.1                       \
 427                 yppasswd.1                      \
 428                 ypwhich.1                       \
 429                 zlogin.1                        \
 430                 zonename.1
 431 
 432 MANLINKS=       batch.1         \
 433                 bg.1            \
 434                 case.1          \
 435                 chdir.1         \
 436                 checkeq.1       \
 437                 continue.1      \
 438                 decrypt.1       \
 439                 dirname.1       \
 440                 dirs.1          \
 441                 disable.1       \
 442                 dumpkeys.1      \
 443                 edit.1          \
 444                 errange.1       \
 445                 errdate.1       \
 446                 errgid.1        \
 447                 errint.1        \
 448                 erritem.1       \
 449                 errpath.1       \
 450                 errstr.1        \
 451                 errtime.1       \
 452                 erruid.1        \
 453                 erryorn.1       \
 454                 eval.1          \
 455                 export.1        \
 456                 false.1         \
 457                 fc.1            \
 458                 fg.1            \
 459                 for.1           \
 460                 foreach.1       \
 461                 function.1      \
 462                 goto.1          \
 463                 hashcheck.1     \
 464                 hashmake.1      \
 465                 hashstat.1      \
 466                 helpdate.1      \
 467                 helpgid.1       \
 468                 helpint.1       \
 469                 helpitem.1      \
 470                 helppath.1      \
 471                 helprange.1     \
 472                 helpstr.1       \
 473                 helptime.1      \
 474                 helpuid.1       \
 475                 helpyorn.1      \
 476                 hist.1          \
 477                 if.1            \
 478                 intro.1         \
 479                 jsh.1           \
 480                 ksh.1           \
 481                 ldapadd.1       \
 482                 neqn.1          \
 483                 notify.1        \
 484                 onintr.1        \
 485                 page.1          \
 486                 pcat.1          \
 487                 pcred.1         \
 488                 pfcsh.1         \
 489                 pfiles.1        \
 490                 pfksh.1         \
 491                 pflags.1        \
 492                 pfsh.1          \
 493                 pkill.1         \
 494                 pldd.1          \
 495                 popd.1          \
 496                 prun.1          \
 497                 psig.1          \
 498                 pstack.1        \
 499                 pstop.1         \
 500                 ptime.1         \
 501                 pushd.1         \
 502                 pwait.1         \
 503                 pwdx.1          \
 504                 red.1           \
 505                 rehash.1        \
 506                 remote_shell.1  \
 507                 remsh.1         \
 508                 repeat.1        \
 509                 return.1        \
 510                 rksh.1          \
 511                 rksh93.1        \
 512                 rmail.1         \
 513                 rmdir.1         \
 514                 rmumount.1      \
 515                 select.1        \
 516                 setenv.1        \
 517                 settime.1       \
 518                 sh.1            \
 519                 snca.1          \
 520                 source.1        \
 521                 spellin.1       \
 522                 stop.1          \
 523                 strconf.1       \
 524                 switch.1        \
 525                 ulimit.1        \
 526                 unalias.1       \
 527                 uncompress.1    \
 528                 unexpand.1      \
 529                 unhash.1        \
 530                 unlimit.1       \
 531                 unpack.1        \
 532                 unset.1         \
 533                 unsetenv.1      \
 534                 until.1         \
 535                 valdate.1       \
 536                 valgid.1        \
 537                 valint.1        \
 538                 valpath.1       \
 539                 valrange.1      \
 540                 valstr.1        \
 541                 valtime.1       \
 542                 valuid.1        \
 543                 valyorn.1       \
 544                 vax.1           \
 545                 vedit.1         \
 546                 whence.1        \
 547                 while.1         \
 548                 zcat.1
 549 
 550 intro.1         := LINKSRC = Intro.1
 551 
 552 unalias.1       := LINKSRC = alias.1
 553 
 554 batch.1         := LINKSRC = at.1
 555 
 556 dirname.1       := LINKSRC = basename.1
 557 
 558 continue.1      := LINKSRC = break.1
 559 
 560 chdir.1         := LINKSRC = cd.1
 561 dirs.1          := LINKSRC = cd.1
 562 popd.1          := LINKSRC = cd.1
 563 pushd.1         := LINKSRC = cd.1
 564 
 565 errdate.1       := LINKSRC = ckdate.1
 566 helpdate.1      := LINKSRC = ckdate.1
 567 valdate.1       := LINKSRC = ckdate.1
 568 
 569 errgid.1        := LINKSRC = ckgid.1
 570 helpgid.1       := LINKSRC = ckgid.1
 571 valgid.1        := LINKSRC = ckgid.1
 572 
 573 errint.1        := LINKSRC = ckint.1
 574 helpint.1       := LINKSRC = ckint.1
 575 valint.1        := LINKSRC = ckint.1
 576 
 577 erritem.1       := LINKSRC = ckitem.1
 578 helpitem.1      := LINKSRC = ckitem.1
 579 
 580 errpath.1       := LINKSRC = ckpath.1
 581 helppath.1      := LINKSRC = ckpath.1
 582 valpath.1       := LINKSRC = ckpath.1
 583 
 584 errange.1       := LINKSRC = ckrange.1
 585 helprange.1     := LINKSRC = ckrange.1
 586 valrange.1      := LINKSRC = ckrange.1
 587 
 588 errstr.1        := LINKSRC = ckstr.1
 589 helpstr.1       := LINKSRC = ckstr.1
 590 valstr.1        := LINKSRC = ckstr.1
 591 
 592 errtime.1       := LINKSRC = cktime.1
 593 helptime.1      := LINKSRC = cktime.1
 594 valtime.1       := LINKSRC = cktime.1
 595 
 596 erruid.1        := LINKSRC = ckuid.1
 597 helpuid.1       := LINKSRC = ckuid.1
 598 valuid.1        := LINKSRC = ckuid.1
 599 
 600 erryorn.1       := LINKSRC = ckyorn.1
 601 helpyorn.1      := LINKSRC = ckyorn.1
 602 valyorn.1       := LINKSRC = ckyorn.1
 603 
 604 uncompress.1    := LINKSRC = compress.1
 605 zcat.1          := LINKSRC = compress.1
 606 
 607 red.1           := LINKSRC = ed.1
 608 
 609 disable.1       := LINKSRC = enable.1
 610 
 611 decrypt.1       := LINKSRC = encrypt.1
 612 
 613 checkeq.1       := LINKSRC = eqn.1
 614 neqn.1          := LINKSRC = eqn.1
 615 
 616 eval.1          := LINKSRC = exec.1
 617 source.1        := LINKSRC = exec.1
 618 
 619 goto.1          := LINKSRC = exit.1
 620 return.1        := LINKSRC = exit.1
 621 
 622 unexpand.1      := LINKSRC = expand.1
 623 
 624 hashstat.1      := LINKSRC = hash.1
 625 rehash.1        := LINKSRC = hash.1
 626 unhash.1        := LINKSRC = hash.1
 627 
 628 fc.1            := LINKSRC = history.1
 629 hist.1          := LINKSRC = history.1
 630 
 631 bg.1            := LINKSRC = jobs.1
 632 fg.1            := LINKSRC = jobs.1
 633 notify.1        := LINKSRC = jobs.1
 634 stop.1          := LINKSRC = jobs.1
 635 
 636 jsh.1           := LINKSRC = ksh93.1
 637 ksh.1           := LINKSRC = ksh93.1
 638 rksh.1          := LINKSRC = ksh93.1
 639 rksh93.1        := LINKSRC = ksh93.1
 640 sh.1            := LINKSRC = ksh93.1
 641 
 642 ldapadd.1       := LINKSRC = ldapmodify.1
 643 
 644 ulimit.1        := LINKSRC = limit.1
 645 unlimit.1       := LINKSRC = limit.1
 646 
 647 dumpkeys.1      := LINKSRC = loadkeys.1
 648 
 649 rmail.1         := LINKSRC = mail.1
 650 
 651 page.1          := LINKSRC = more.1
 652 
 653 snca.1          := LINKSRC = nca.1
 654 
 655 pcat.1          := LINKSRC = pack.1
 656 unpack.1        := LINKSRC = pack.1
 657 
 658 pfcsh.1         := LINKSRC = pfexec.1
 659 pfksh.1         := LINKSRC = pfexec.1
 660 pfsh.1          := LINKSRC = pfexec.1
 661 
 662 pkill.1         := LINKSRC = pgrep.1
 663 
 664 pcred.1         := LINKSRC = proc.1
 665 pfiles.1        := LINKSRC = proc.1
 666 pflags.1        := LINKSRC = proc.1
 667 pldd.1          := LINKSRC = proc.1
 668 prun.1          := LINKSRC = proc.1
 669 psig.1          := LINKSRC = proc.1
 670 pstack.1        := LINKSRC = proc.1
 671 pstop.1         := LINKSRC = proc.1
 672 ptime.1         := LINKSRC = proc.1
 673 pwait.1         := LINKSRC = proc.1
 674 pwdx.1          := LINKSRC = proc.1
 675 
 676 rmdir.1         := LINKSRC = rm.1
 677 
 678 rmumount.1      := LINKSRC = rmmount.1
 679 
 680 remote_shell.1  := LINKSRC = rsh.1
 681 remsh.1         := LINKSRC = rsh.1
 682 
 683 export.1        := LINKSRC = set.1
 684 setenv.1        := LINKSRC = set.1
 685 unset.1         := LINKSRC = set.1
 686 unsetenv.1      := LINKSRC = set.1
 687 
 688 case.1          := LINKSRC = shell_builtins.1
 689 for.1           := LINKSRC = shell_builtins.1
 690 foreach.1       := LINKSRC = shell_builtins.1
 691 function.1      := LINKSRC = shell_builtins.1
 692 if.1            := LINKSRC = shell_builtins.1
 693 repeat.1        := LINKSRC = shell_builtins.1
 694 select.1        := LINKSRC = shell_builtins.1
 695 switch.1        := LINKSRC = shell_builtins.1
 696 until.1         := LINKSRC = shell_builtins.1
 697 while.1         := LINKSRC = shell_builtins.1
 698 
 699 hashcheck.1     := LINKSRC = spell.1
 700 hashmake.1      := LINKSRC = spell.1
 701 spellin.1       := LINKSRC = spell.1
 702 
 703 strconf.1       := LINKSRC = strchg.1
 704 
 705 settime.1       := LINKSRC = touch.1
 706 
 707 onintr.1        := LINKSRC = trap.1
 708 
 709 false.1         := LINKSRC = true.1
 710 
 711 whence.1        := LINKSRC = typeset.1
 712 
 713 # Links to usr/has/man
 714 
 715 edit.1          := LINKSRC = ../../../has/man/man1has/edit.1has
 716 
 717 vedit.1         := LINKSRC = ../../../has/man/man1has/vi.1has
 718 
 719 .KEEP_STATE:
 720 
 721 include         $(SRC)/man/Makefile.man
 722 
 723 install:        $(ROOTMANFILES) $(ROOTMANLINKS)