# Unlike with other dist primaries, the files are not distributed if the
# conditional is false.
# Work the bug around until it is fixed:
-dist_noinst_DATA = $(man_MANS)
+dist_noinst_DATA = $(dist_man_MANS)
utils_common = ../lib/linux_version.c ../lib/blkdev.c
-man_MANS = blockdev.8 isosize.8 mkfs.8 mkswap.8 \
+dist_man_MANS = blockdev.8 isosize.8 mkfs.8 mkswap.8 \
fsck.minix.8 mkfs.minix.8 mkfs.bfs.8
sbin_PROGRAMS = mkfs mkswap blockdev fsck.minix mkfs.minix mkfs.bfs
usrbinexec_PROGRAMS = isosize
if LINUX
-man_MANS += fdformat.8
+dist_man_MANS += fdformat.8
usrbinexec_PROGRAMS += fdformat
endif
if BUILD_ELVTUNE
sbin_PROGRAMS += elvtune
-man_MANS += elvtune.8
+dist_man_MANS += elvtune.8
elvtune_SOURCES = elvtune.c ../lib/linux_version.c
endif
if HAVE_RAW
if BUILD_RAW
sbin_PROGRAMS += raw
-man_MANS += raw.8
+dist_man_MANS += raw.8
endif
endif
if !ARCH_M68K
sbin_PROGRAMS = fdisk
-man_MANS = fdisk.8
+dist_man_MANS = fdisk.8
fdisk_SOURCES = fdisk.c fdiskbsdlabel.c fdisksgilabel.c \
fdisksunlabel.c fdiskaixlabel.c fdiskmaclabel.c partname.c \
fdisk.h fdisksunlabel.h fdisksgilabel.h fdiskaixlabel.h \
if !ARCH_SPARC
sbin_PROGRAMS += sfdisk
-man_MANS += sfdisk.8
+dist_man_MANS += sfdisk.8
sfdisk_SOURCES = sfdisk.c partname.c $(fdisk_common)
if USE_SLANG
sbin_PROGRAMS += cfdisk
-man_MANS += cfdisk.8
+dist_man_MANS += cfdisk.8
cfdisk_SOURCES = cfdisk.c $(fdisk_common)
cfdisk_LDADD = -lslang
else
if HAVE_NCURSES
sbin_PROGRAMS += cfdisk
-man_MANS += cfdisk.8
+dist_man_MANS += cfdisk.8
cfdisk_SOURCES = cfdisk.c $(fdisk_common)
cfdisk_LDADD = -lncurses
endif
getopt_CPPFLAGS = -DLIBCGETOPT=1 $(AM_CPPFLAGS)
-man_MANS = getopt.1
+dist_man_MANS = getopt.1
exampledir = $(datadir)/getopt/
dist_example_SCRIPTS = getopt-parse.bash getopt-parse.tcsh \
include $(top_srcdir)/config/include-Makefile.am
-man_MANS = hwclock.8
+dist_man_MANS = hwclock.8
sbin_PROGRAMS = hwclock
usrbinexec_PROGRAMS =
sbin_PROGRAMS =
usrsbinexec_PROGRAMS =
-man_MANS =
+dist_man_MANS =
EXTRA_DIST = README.getty README.modems-with-agetty README.poeigl
if BUILD_AGETTY
sbin_PROGRAMS += agetty
-man_MANS += agetty.8
+dist_man_MANS += agetty.8
endif
if BUILD_INIT
sbin_PROGRAMS += simpleinit shutdown initctl
-man_MANS += fastboot.8 fasthalt.8 halt.8 reboot.8 simpleinit.8 shutdown.8 \
+dist_man_MANS += fastboot.8 fasthalt.8 halt.8 reboot.8 simpleinit.8 shutdown.8 \
initctl.8
simpleinit_SOURCES = simpleinit.c my_crypt.h simpleinit.h
if BUILD_LAST
usrbinexec_PROGRAMS += last
-man_MANS += last.1
+dist_man_MANS += last.1
endif
if BUILD_LOGIN_UTILS
bin_PROGRAMS += login
usrbinexec_PROGRAMS += chfn chsh newgrp
usrsbinexec_PROGRAMS += vipw
-man_MANS += chfn.1 chsh.1 login.1 newgrp.1 vipw.8 vigr.8
+dist_man_MANS += chfn.1 chsh.1 login.1 newgrp.1 vipw.8 vigr.8
chfn_SOURCES = chfn.c $(chfn_chsh_common)
chsh_SOURCES = chsh.c $(chfn_chsh_common)
if BUILD_MESG
usrbinexec_PROGRAMS += mesg
-man_MANS += mesg.1
+dist_man_MANS += mesg.1
endif
if BUILD_WALL
usrbinexec_PROGRAMS += wall
wall_SOURCES = wall.c ttymsg.c ttymsg.h
-man_MANS += wall.1
+dist_man_MANS += wall.1
if USE_TTY_GROUP
if MAKEINSTALL_DO_CHOWN
CLEANFILES = chkdupexe scriptreplay
-man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \
+dist_man_MANS = cal.1 chkdupexe.1 ddate.1 logger.1 look.1 mcookie.1 \
namei.1 script.1 whereis.1 scriptreplay.1
if HAVE_TINFO
if HAVE_NCURSES
if LINUX
usrbinexec_PROGRAMS += setterm
-man_MANS += setterm.1
+dist_man_MANS += setterm.1
endif
if HAVE_TINFO
setterm_LDADD = -ltinfo
if BUILD_KILL
bin_PROGRAMS += kill
kill_SOURCES = kill.c procs.c kill.h
-man_MANS += kill.1
+dist_man_MANS += kill.1
endif
if BUILD_RENAME
usrbinexec_PROGRAMS += rename
-man_MANS += rename.1
+dist_man_MANS += rename.1
endif
if BUILD_RESET
dist_usrbinexec_SCRIPTS = reset
-man_MANS += reset.1
+dist_man_MANS += reset.1
endif
EXTRA_DIST += README.reset reset.033c
if BUILD_WRITE
usrbinexec_PROGRAMS += write
-man_MANS += write.1
+dist_man_MANS += write.1
write_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS)
write_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS)
bin_PROGRAMS = mount umount
sbin_PROGRAMS = losetup swapon
-man_MANS = fstab.5 mount.8 swapoff.8 swapon.8 umount.8 losetup.8
+dist_man_MANS = fstab.5 mount.8 swapoff.8 swapon.8 umount.8 losetup.8
utils_common = sundries.c xmalloc.c realpath.c fsprobe.c
if HAVE_PIVOT_ROOT
sbin_PROGRAMS += pivot_root
-man_MANS += pivot_root.8
+dist_man_MANS += pivot_root.8
endif
noinst_PROGRAMS = mtab_lock_test
partx_SOURCES = bsd.c dos.c partx.c solaris.c unixware.c gpt.c crc32.c \
efi.h gpt.h crc32.h partx.h dos.h
-man_MANS = addpart.8 delpart.8 partx.8
+dist_man_MANS = addpart.8 delpart.8 partx.8
endif
if BUILD_SCHEDUTILS
usrbinexec_PROGRAMS = chrt
-man_MANS = chrt.1
+dist_man_MANS = chrt.1
if HAVE_IOPRIO_GET
if HAVE_IOPRIO_SET
usrbinexec_PROGRAMS += ionice
-man_MANS += ionice.1
+dist_man_MANS += ionice.1
endif
endif
if HAVE_SCHED_GETAFFINITY
usrbinexec_PROGRAMS += taskset
-man_MANS += taskset.1
+dist_man_MANS += taskset.1
endif
endif
tunelp_SOURCES = tunelp.c lp.h
-man_MANS = flock.1 readprofile.1 \
+dist_man_MANS = flock.1 readprofile.1 \
ctrlaltdel.8 cytune.8 dmesg.1 ipcrm.1 ipcs.1 renice.1 \
setsid.1 tunelp.8 setarch.8 rtcwake.8
if BUILD_ARCH
bin_PROGRAMS += arch
-man_MANS += arch.1
+dist_man_MANS += arch.1
endif
if ARCH_I86
usrsbinexec_PROGRAMS += rdev
-man_MANS += $(rdev_common_mans)
+dist_man_MANS += $(rdev_common_mans)
RDEV_LINKS = $(rdev_common_links)
endif
if ARCH_86_64
usrsbinexec_PROGRAMS += rdev
-man_MANS += $(rdev_common_mans)
+dist_man_MANS += $(rdev_common_mans)
RDEV_LINKS = $(rdev_common_links)
endif
endif
SETARCH_MAN_LINKS = $(addsuffix .8, $(SETARCH_LINKS))
-man_MANS += $(SETARCH_MAN_LINKS)
+dist_man_MANS += $(SETARCH_MAN_LINKS)
CLEANFILES=$(SETARCH_MAN_LINKS)
$(SETARCH_MAN_LINKS): setarch.8
hexdump_SOURCES = hexdump.c conv.c display.c hexsyntax.c odsyntax.c parse.c \
hexdump.h
-man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1
+dist_man_MANS = col.1 colcrt.1 colrm.1 column.1 hexdump.1 rev.1 line.1 tailf.1
if HAVE_NCURSES
bin_PROGRAMS = more
pg_LDADD = -lncurses
ul_LDADD = -lncurses
endif
-man_MANS += ul.1 more.1 pg.1
+dist_man_MANS += ul.1 more.1 pg.1
else
if HAVE_TERMCAP
bin_PROGRAMS = more
more_LDADD = -ltermcap
-man_MANS += more.1
+dist_man_MANS += more.1
endif
endif