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