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# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
17# Copyright 2020 Joyent, Inc.
18#
19
20include		$(SRC)/Makefile.master
21
22MANSECT=	1
23
24MANFILES=	acctcom.1			\
25		adb.1				\
26		addbib.1			\
27		alias.1				\
28		allocate.1			\
29		amt.1				\
30		appcert.1			\
31		apptrace.1			\
32		apropos.1			\
33		ar.1				\
34		arch.1				\
35		asa.1				\
36		at.1				\
37		atq.1				\
38		atrm.1				\
39		audioconvert.1			\
40		audioctl.1			\
41		audioplay.1			\
42		audiorecord.1			\
43		audiotest.1			\
44		auths.1				\
45		awk.1				\
46		banner.1			\
47		basename.1			\
48		bc.1				\
49		bdiff.1				\
50		break.1				\
51		builtin.1			\
52		cal.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		ctfdiff.1			\
90		ctfdump.1			\
91		ctrun.1				\
92		ctstat.1			\
93		ctwatch.1			\
94		cut.1				\
95		date.1				\
96		dc.1				\
97		deallocate.1			\
98		demangle.1			\
99		deroff.1			\
100		dhcpinfo.1			\
101		diff.1				\
102		diff3.1				\
103		diffmk.1			\
104		digest.1			\
105		dircmp.1			\
106		dis.1				\
107		disown.1			\
108		dispgid.1			\
109		dispuid.1			\
110		dos2unix.1			\
111		download.1			\
112		dpost.1				\
113		du.1				\
114		dump.1				\
115		dumpcs.1			\
116		echo.1				\
117		ed.1				\
118		eject.1				\
119		elfdump.1			\
120		elfedit.1			\
121		elfsign.1			\
122		elfwrap.1			\
123		enable.1			\
124		encrypt.1			\
125		enhance.1			\
126		env.1				\
127		eqn.1				\
128		etdump.1			\
129		exec.1				\
130		exit.1				\
131		expand.1			\
132		expr.1				\
133		exstr.1				\
134		factor.1			\
135		fdformat.1			\
136		file.1				\
137		filesync.1			\
138		find.1				\
139		finger.1			\
140		fmt.1				\
141		fmtmsg.1			\
142		fold.1				\
143		ftp.1				\
144		gcore.1				\
145		gencat.1			\
146		genmsg.1			\
147		getconf.1			\
148		getfacl.1			\
149		getlabel.1			\
150		getopt.1			\
151		getoptcvt.1			\
152		getopts.1			\
153		gettext.1			\
154		gettxt.1			\
155		getzonepath.1			\
156		glob.1				\
157		gprof.1				\
158		grep.1				\
159		groups.1			\
160		hash.1				\
161		head.1				\
162		history.1			\
163		hostid.1			\
164		hostname.1			\
165		iconv.1				\
166		indxbib.1			\
167		Intro.1				\
168		ipcrm.1				\
169		ipcs.1				\
170		isainfo.1			\
171		isalist.1			\
172		jobs.1				\
173		join.1				\
174		kbd.1				\
175		kdestroy.1			\
176		keylogin.1			\
177		keylogout.1			\
178		kill.1				\
179		kinit.1				\
180		klist.1				\
181		kmdb.1				\
182		kmfcfg.1			\
183		kpasswd.1			\
184		krb5-config.1			\
185		ksh93.1				\
186		ktutil.1			\
187		kvmstat.1			\
188		lari.1				\
189		last.1				\
190		lastcomm.1			\
191		ld.1				\
192		ld.so.1.1			\
193		ldap.1				\
194		ldapdelete.1			\
195		ldaplist.1			\
196		ldapmodify.1			\
197		ldapmodrdn.1			\
198		ldapsearch.1			\
199		ldd.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		mailstats.1			\
228		mailx.1				\
229		make.1				\
230		makekey.1			\
231		man.1				\
232		mandoc.1			\
233		mconnect.1			\
234		mcs.1				\
235		mdb.1				\
236		mesg.1				\
237		mkdir.1				\
238		mkmsgs.1			\
239		mktemp.1			\
240		moe.1				\
241		more.1				\
242		mpss.so.1.1			\
243		msgcc.1				\
244		msgcpp.1			\
245		msgcvt.1			\
246		msgfmt.1			\
247		msggen.1			\
248		msgget.1			\
249		mt.1				\
250		mv.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		oawk.1				\
265		od.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		psecflags.1			\
307		ptree.1				\
308		pvs.1				\
309		pwd.1				\
310		ranlib.1			\
311		rcapstat.1			\
312		rcp.1				\
313		rdist.1				\
314		read.1				\
315		readonly.1			\
316		refer.1				\
317		regcmp.1			\
318		renice.1			\
319		rev.1				\
320		rlogin.1			\
321		rm.1				\
322		rmformat.1			\
323		rmmount.1			\
324		roffbib.1			\
325		roles.1				\
326		rpcgen.1			\
327		rsh.1				\
328		runat.1				\
329		rup.1				\
330		ruptime.1			\
331		rusers.1			\
332		rwho.1				\
333		sar.1				\
334		script.1			\
335		sdiff.1				\
336		sed.1				\
337		sendmail-mailq.1		\
338		set.1				\
339		setfacl.1			\
340		setlabel.1			\
341		setpgrp.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		strchg.1			\
356		strings.1			\
357		strip.1				\
358		stty.1				\
359		sum.1				\
360		suspend.1			\
361		svcprop.1			\
362		svcs.1				\
363		symorder.1			\
364		sys-suspend.1			\
365		sysV-make.1			\
366		tabs.1				\
367		tail.1				\
368		talk.1				\
369		tar.1				\
370		tbl.1				\
371		tcopy.1				\
372		tee.1				\
373		telnet.1			\
374		test.1				\
375		tftp.1				\
376		time.1				\
377		times.1				\
378		timex.1				\
379		tip.1				\
380		tnfdump.1			\
381		tnfxtract.1			\
382		touch.1				\
383		tput.1				\
384		tr.1				\
385		trap.1				\
386		troff.1				\
387		true.1				\
388		truss.1				\
389		tsort.1				\
390		tty.1				\
391		type.1				\
392		typeset.1			\
393		ul.1				\
394		umask.1				\
395		uname.1				\
396		unifdef.1			\
397		uniq.1				\
398		units.1				\
399		unix2dos.1			\
400		uptime.1			\
401		uuidgen.1			\
402		vacation.1			\
403		vgrind.1			\
404		volcheck.1			\
405		volrmmount.1			\
406		vtfontcvt.1			\
407		w.1				\
408		wait.1				\
409		wc.1				\
410		which.1				\
411		who.1				\
412		whocalls.1			\
413		whois.1				\
414		write.1				\
415		xargs.1				\
416		xgettext.1			\
417		xstr.1				\
418		yacc.1				\
419		yes.1				\
420		ypcat.1				\
421		ypmatch.1			\
422		yppasswd.1			\
423		ypwhich.1			\
424		zlogin.1			\
425		zonename.1			\
426		zonestat.1
427
428MANLINKS=	batch.1		\
429		bg.1		\
430		case.1		\
431		chdir.1		\
432		checkeq.1	\
433		continue.1	\
434		decrypt.1	\
435		dirname.1	\
436		dirs.1		\
437		disable.1	\
438		dmake.1		\
439		dumpkeys.1	\
440		edit.1		\
441		egrep.1		\
442		errange.1	\
443		errdate.1	\
444		errgid.1	\
445		errint.1	\
446		erritem.1	\
447		errpath.1	\
448		errstr.1	\
449		errtime.1	\
450		erruid.1	\
451		erryorn.1	\
452		eval.1		\
453		export.1	\
454		false.1		\
455		fc.1		\
456		fg.1		\
457		fgrep.1		\
458		for.1		\
459		foreach.1	\
460		function.1	\
461		goto.1		\
462		hashcheck.1	\
463		hashmake.1	\
464		hashstat.1	\
465		helpdate.1	\
466		helpgid.1	\
467		helpint.1	\
468		helpitem.1	\
469		helppath.1	\
470		helprange.1	\
471		helpstr.1	\
472		helptime.1	\
473		helpuid.1	\
474		helpyorn.1	\
475		hist.1		\
476		if.1		\
477		intro.1		\
478		jsh.1		\
479		ksh.1		\
480		ldapadd.1	\
481		mailq.1		\
482		nawk.1		\
483		neqn.1		\
484		notify.1	\
485		onintr.1	\
486		page.1		\
487		pauxv.1		\
488		pcat.1		\
489		pcred.1		\
490		penv.1		\
491		pfcsh.1		\
492		pfiles.1	\
493		pfksh.1		\
494		pflags.1	\
495		pfsh.1		\
496		pkill.1		\
497		pldd.1		\
498		popd.1		\
499		prun.1		\
500		psig.1		\
501		pstack.1	\
502		pstop.1		\
503		ptime.1		\
504		pushd.1		\
505		pwait.1		\
506		pwdx.1		\
507		red.1		\
508		rehash.1	\
509		remote_shell.1	\
510		remsh.1		\
511		repeat.1	\
512		return.1	\
513		rksh.1		\
514		rksh93.1	\
515		rmail.1		\
516		rmdir.1		\
517		rmumount.1	\
518		select.1	\
519		setenv.1	\
520		settime.1	\
521		sh.1		\
522		snca.1		\
523		source.1	\
524		spellin.1	\
525		stop.1		\
526		strconf.1	\
527		switch.1	\
528		ulimit.1	\
529		unalias.1	\
530		uncompress.1	\
531		unexpand.1	\
532		unhash.1	\
533		unlimit.1	\
534		unpack.1	\
535		unset.1		\
536		unsetenv.1	\
537		until.1		\
538		valdate.1	\
539		valgid.1	\
540		valint.1	\
541		valpath.1	\
542		valrange.1	\
543		valstr.1	\
544		valtime.1	\
545		valuid.1	\
546		valyorn.1	\
547		vedit.1		\
548		whatis.1	\
549		whence.1	\
550		while.1		\
551		zcat.1
552
553intro.1		:= LINKSRC = Intro.1
554
555whatis.1	:= LINKSRC = apropos.1
556
557unalias.1	:= LINKSRC = alias.1
558
559batch.1		:= LINKSRC = at.1
560
561dirname.1	:= LINKSRC = basename.1
562
563continue.1	:= LINKSRC = break.1
564
565chdir.1		:= LINKSRC = cd.1
566dirs.1		:= LINKSRC = cd.1
567popd.1		:= LINKSRC = cd.1
568pushd.1		:= LINKSRC = cd.1
569
570errdate.1	:= LINKSRC = ckdate.1
571helpdate.1	:= LINKSRC = ckdate.1
572valdate.1	:= LINKSRC = ckdate.1
573
574errgid.1	:= LINKSRC = ckgid.1
575helpgid.1	:= LINKSRC = ckgid.1
576valgid.1	:= LINKSRC = ckgid.1
577
578errint.1	:= LINKSRC = ckint.1
579helpint.1	:= LINKSRC = ckint.1
580valint.1	:= LINKSRC = ckint.1
581
582erritem.1	:= LINKSRC = ckitem.1
583helpitem.1	:= LINKSRC = ckitem.1
584
585errpath.1	:= LINKSRC = ckpath.1
586helppath.1	:= LINKSRC = ckpath.1
587valpath.1	:= LINKSRC = ckpath.1
588
589errange.1	:= LINKSRC = ckrange.1
590helprange.1	:= LINKSRC = ckrange.1
591valrange.1	:= LINKSRC = ckrange.1
592
593errstr.1	:= LINKSRC = ckstr.1
594helpstr.1	:= LINKSRC = ckstr.1
595valstr.1	:= LINKSRC = ckstr.1
596
597errtime.1	:= LINKSRC = cktime.1
598helptime.1	:= LINKSRC = cktime.1
599valtime.1	:= LINKSRC = cktime.1
600
601erruid.1	:= LINKSRC = ckuid.1
602helpuid.1	:= LINKSRC = ckuid.1
603valuid.1	:= LINKSRC = ckuid.1
604
605erryorn.1	:= LINKSRC = ckyorn.1
606helpyorn.1	:= LINKSRC = ckyorn.1
607valyorn.1	:= LINKSRC = ckyorn.1
608
609uncompress.1	:= LINKSRC = compress.1
610zcat.1		:= LINKSRC = compress.1
611
612red.1		:= LINKSRC = ed.1
613
614disable.1	:= LINKSRC = enable.1
615
616decrypt.1	:= LINKSRC = encrypt.1
617
618dmake.1		:= LINKSRC = make.1
619
620checkeq.1	:= LINKSRC = eqn.1
621neqn.1		:= LINKSRC = eqn.1
622
623nawk.1		:= LINKSRC = awk.1
624
625eval.1		:= LINKSRC = exec.1
626source.1	:= LINKSRC = exec.1
627
628goto.1		:= LINKSRC = exit.1
629return.1	:= LINKSRC = exit.1
630
631unexpand.1	:= LINKSRC = expand.1
632
633egrep.1		:= LINKSRC = grep.1
634fgrep.1		:= LINKSRC = grep.1
635
636hashstat.1	:= LINKSRC = hash.1
637rehash.1	:= LINKSRC = hash.1
638unhash.1	:= LINKSRC = hash.1
639
640fc.1		:= LINKSRC = history.1
641hist.1		:= LINKSRC = history.1
642
643bg.1		:= LINKSRC = jobs.1
644fg.1		:= LINKSRC = jobs.1
645notify.1	:= LINKSRC = jobs.1
646stop.1		:= LINKSRC = jobs.1
647
648jsh.1		:= LINKSRC = ksh93.1
649ksh.1		:= LINKSRC = ksh93.1
650rksh.1		:= LINKSRC = ksh93.1
651rksh93.1	:= LINKSRC = ksh93.1
652sh.1		:= LINKSRC = ksh93.1
653
654ldapadd.1	:= LINKSRC = ldapmodify.1
655
656mailq.1		:= LINKSRC = sendmail-mailq.1
657
658ulimit.1	:= LINKSRC = limit.1
659unlimit.1	:= LINKSRC = limit.1
660
661dumpkeys.1	:= LINKSRC = loadkeys.1
662
663rmail.1		:= LINKSRC = mail.1
664
665page.1		:= LINKSRC = more.1
666
667snca.1		:= LINKSRC = nca.1
668
669pcat.1		:= LINKSRC = pack.1
670unpack.1	:= LINKSRC = pack.1
671
672pauxv.1		:= LINKSRC = pargs.1
673penv.1		:= LINKSRC = pargs.1
674
675pfcsh.1		:= LINKSRC = pfexec.1
676pfksh.1		:= LINKSRC = pfexec.1
677pfsh.1		:= LINKSRC = pfexec.1
678
679pkill.1		:= LINKSRC = pgrep.1
680
681pcred.1		:= LINKSRC = proc.1
682pfiles.1	:= LINKSRC = proc.1
683pflags.1	:= LINKSRC = proc.1
684pldd.1		:= LINKSRC = proc.1
685prun.1		:= LINKSRC = proc.1
686psig.1		:= LINKSRC = proc.1
687pstack.1	:= LINKSRC = proc.1
688pstop.1		:= LINKSRC = proc.1
689ptime.1		:= LINKSRC = proc.1
690pwait.1		:= LINKSRC = proc.1
691pwdx.1		:= LINKSRC = proc.1
692
693rmdir.1		:= LINKSRC = rm.1
694
695rmumount.1	:= LINKSRC = rmmount.1
696
697remote_shell.1	:= LINKSRC = rsh.1
698remsh.1		:= LINKSRC = rsh.1
699
700export.1	:= LINKSRC = set.1
701setenv.1	:= LINKSRC = set.1
702unset.1		:= LINKSRC = set.1
703unsetenv.1	:= LINKSRC = set.1
704
705case.1		:= LINKSRC = shell_builtins.1
706for.1		:= LINKSRC = shell_builtins.1
707foreach.1	:= LINKSRC = shell_builtins.1
708function.1	:= LINKSRC = shell_builtins.1
709if.1		:= LINKSRC = shell_builtins.1
710repeat.1	:= LINKSRC = shell_builtins.1
711select.1	:= LINKSRC = shell_builtins.1
712switch.1	:= LINKSRC = shell_builtins.1
713until.1		:= LINKSRC = shell_builtins.1
714while.1		:= LINKSRC = shell_builtins.1
715
716hashcheck.1	:= LINKSRC = spell.1
717hashmake.1	:= LINKSRC = spell.1
718spellin.1	:= LINKSRC = spell.1
719
720
721strconf.1	:= LINKSRC = strchg.1
722
723settime.1	:= LINKSRC = touch.1
724
725onintr.1	:= LINKSRC = trap.1
726
727false.1		:= LINKSRC = true.1
728
729whence.1	:= LINKSRC = typeset.1
730
731# Links to usr/has/man
732
733edit.1		:= LINKSRC = ../../../has/man/man1has/edit.1has
734
735vedit.1		:= LINKSRC = ../../../has/man/man1has/vi.1has
736
737.KEEP_STATE:
738
739include		$(SRC)/man/Makefile.man
740
741install:	$(ROOTMANFILES) $(ROOTMANLINKS)
742