mirror of
https://github.com/coreutils/coreutils.git
synced 2025-01-07 08:33:23 +08:00
488 lines
16 KiB
Makefile
488 lines
16 KiB
Makefile
# Makefile.in generated by automake 1.7.2 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ..
|
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = $(program_transform_name)
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_triplet = @host@
|
|
ACLOCAL = @ACLOCAL@
|
|
ALLOCA = @ALLOCA@
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
|
AMTAR = @AMTAR@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AWK = @AWK@
|
|
CC = @CC@
|
|
CCDEPMODE = @CCDEPMODE@
|
|
CFLAGS = @CFLAGS@
|
|
CPP = @CPP@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CYGPATH_W = @CYGPATH_W@
|
|
DEFS = @DEFS@
|
|
DEPDIR = @DEPDIR@
|
|
DF_PROG = @DF_PROG@
|
|
ECHO_C = @ECHO_C@
|
|
ECHO_N = @ECHO_N@
|
|
ECHO_T = @ECHO_T@
|
|
EGREP = @EGREP@
|
|
EXEEXT = @EXEEXT@
|
|
FESETROUND_LIBM = @FESETROUND_LIBM@
|
|
GETLOADAVG_LIBS = @GETLOADAVG_LIBS@
|
|
GLIBC21 = @GLIBC21@
|
|
GMSGFMT = @GMSGFMT@
|
|
GNU_PACKAGE = @GNU_PACKAGE@
|
|
HELP2MAN = @HELP2MAN@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INTLLIBS = @INTLLIBS@
|
|
KMEM_GROUP = @KMEM_GROUP@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBICONV = @LIBICONV@
|
|
LIBINTL = @LIBINTL@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@
|
|
LIB_CRYPT = @LIB_CRYPT@
|
|
LIB_NANOSLEEP = @LIB_NANOSLEEP@
|
|
LTLIBICONV = @LTLIBICONV@
|
|
LTLIBINTL = @LTLIBINTL@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAKEINFO = @MAKEINFO@
|
|
MAN = @MAN@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
MSGMERGE = @MSGMERGE@
|
|
NEED_SETGID = @NEED_SETGID@
|
|
OBJEXT = @OBJEXT@
|
|
OPTIONAL_BIN_PROGS = @OPTIONAL_BIN_PROGS@
|
|
OPTIONAL_BIN_ZCRIPTS = @OPTIONAL_BIN_ZCRIPTS@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
PERL = @PERL@
|
|
POSUB = @POSUB@
|
|
POW_LIB = @POW_LIB@
|
|
RANLIB = @RANLIB@
|
|
SEQ_LIBM = @SEQ_LIBM@
|
|
SET_MAKE = @SET_MAKE@
|
|
SHELL = @SHELL@
|
|
SQRT_LIBM = @SQRT_LIBM@
|
|
STRIP = @STRIP@
|
|
U = @U@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
XGETTEXT = @XGETTEXT@
|
|
YACC = @YACC@
|
|
ac_ct_CC = @ac_ct_CC@
|
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
|
am__include = @am__include@
|
|
am__quote = @am__quote@
|
|
bindir = @bindir@
|
|
build = @build@
|
|
build_alias = @build_alias@
|
|
build_cpu = @build_cpu@
|
|
build_os = @build_os@
|
|
build_vendor = @build_vendor@
|
|
datadir = @datadir@
|
|
exec_prefix = @exec_prefix@
|
|
host = @host@
|
|
host_alias = @host_alias@
|
|
host_cpu = @host_cpu@
|
|
host_os = @host_os@
|
|
host_vendor = @host_vendor@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
install_sh = @install_sh@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
localstatedir = @localstatedir@
|
|
mandir = @mandir@
|
|
oldincludedir = @oldincludedir@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
target_alias = @target_alias@
|
|
dist_man_MANS = \
|
|
basename.1 cat.1 chgrp.1 chmod.1 chown.1 chroot.1 cksum.1 comm.1 \
|
|
cp.1 csplit.1 cut.1 date.1 dd.1 df.1 dir.1 dircolors.1 dirname.1 du.1 \
|
|
echo.1 env.1 expand.1 expr.1 factor.1 false.1 fmt.1 fold.1 groups.1 \
|
|
head.1 hostid.1 hostname.1 id.1 install.1 join.1 link.1 ln.1 logname.1 \
|
|
ls.1 md5sum.1 mkdir.1 mkfifo.1 mknod.1 mv.1 nice.1 nl.1 nohup.1 od.1 \
|
|
paste.1 pathchk.1 pinky.1 pr.1 printenv.1 printf.1 ptx.1 pwd.1 readlink.1 \
|
|
rm.1 rmdir.1 seq.1 sha1sum.1 shred.1 sleep.1 sort.1 split.1 stat.1 stty.1 \
|
|
su.1 sum.1 sync.1 tac.1 tail.1 tee.1 test.1 touch.1 tr.1 true.1 tsort.1 \
|
|
tty.1 uname.1 unexpand.1 uniq.1 unlink.1 uptime.1 users.1 vdir.1 wc.1 \
|
|
who.1 whoami.1 yes.1
|
|
|
|
|
|
man_aux = $(dist_man_MANS:.1=.x)
|
|
|
|
EXTRA_DIST = $(man_aux)
|
|
MAINTAINERCLEANFILES = $(man_MANS)
|
|
|
|
# Depend on configure.ac to get version number changes.
|
|
common_dep = $(top_srcdir)/configure.ac
|
|
|
|
SUFFIXES = .x .1
|
|
|
|
# Ensure that help2man runs the ../src/ginstall binary as
|
|
# `install' when creating install.1.
|
|
t = $*.td
|
|
mapped_name = `echo $*|sed 's/install/ginstall/'`
|
|
subdir = man
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
DIST_SOURCES =
|
|
|
|
NROFF = nroff
|
|
MANS = $(dist_man_MANS)
|
|
DIST_COMMON = $(dist_man_MANS) Makefile.am Makefile.in
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .x .1
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnits man/Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
|
uninstall-info-am:
|
|
|
|
man1dir = $(mandir)/man1
|
|
install-man1: $(man1_MANS) $(man_MANS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
else file=$$i; fi; \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
1*) ;; \
|
|
*) ext='1' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
uninstall-man1:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
|
|
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
|
|
for i in $$l2; do \
|
|
case "$$i" in \
|
|
*.1*) list="$$list $$i" ;; \
|
|
esac; \
|
|
done; \
|
|
for i in $$list; do \
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
case "$$ext" in \
|
|
1*) ;; \
|
|
*) ext='1' ;; \
|
|
esac; \
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
done
|
|
tags: TAGS
|
|
TAGS:
|
|
|
|
ctags: CTAGS
|
|
CTAGS:
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = ..
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
distdir: $(DISTFILES)
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
esac; \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
dir="/$$dir"; \
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
|
else \
|
|
dir=''; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) check-local
|
|
check: check-am
|
|
all-am: Makefile $(MANS)
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
clean: clean-am
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
distclean-am: clean-am distclean-generic
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am:
|
|
|
|
info: info-am
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-man
|
|
|
|
install-exec-am:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man: install-man1
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
pdf: pdf-am
|
|
|
|
pdf-am:
|
|
|
|
ps: ps-am
|
|
|
|
ps-am:
|
|
|
|
uninstall-am: uninstall-info-am uninstall-man
|
|
|
|
uninstall-man: uninstall-man1
|
|
|
|
.PHONY: all all-am check check-am check-local clean clean-generic \
|
|
distclean distclean-generic distdir dvi dvi-am info info-am \
|
|
install install-am install-data install-data-am install-exec \
|
|
install-exec-am install-info install-info-am install-man \
|
|
install-man1 install-strip installcheck installcheck-am \
|
|
installdirs maintainer-clean maintainer-clean-generic \
|
|
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
|
|
uninstall-am uninstall-info-am uninstall-man uninstall-man1
|
|
|
|
|
|
basename.1: $(common_dep) $(srcdir)/basename.x ../src/basename.c
|
|
cat.1: $(common_dep) $(srcdir)/cat.x ../src/cat.c
|
|
chgrp.1: $(common_dep) $(srcdir)/chgrp.x ../src/chgrp.c
|
|
chmod.1: $(common_dep) $(srcdir)/chmod.x ../src/chmod.c
|
|
chown.1: $(common_dep) $(srcdir)/chown.x ../src/chown.c
|
|
chroot.1: $(common_dep) $(srcdir)/chroot.x ../src/chroot.c
|
|
cksum.1: $(common_dep) $(srcdir)/cksum.x ../src/cksum.c
|
|
comm.1: $(common_dep) $(srcdir)/comm.x ../src/comm.c
|
|
cp.1: $(common_dep) $(srcdir)/cp.x ../src/cp.c
|
|
csplit.1: $(common_dep) $(srcdir)/csplit.x ../src/csplit.c
|
|
cut.1: $(common_dep) $(srcdir)/cut.x ../src/cut.c
|
|
date.1: $(common_dep) $(srcdir)/date.x ../src/date.c
|
|
dd.1: $(common_dep) $(srcdir)/dd.x ../src/dd.c
|
|
df.1: $(common_dep) $(srcdir)/df.x ../src/df.c
|
|
|
|
# Note that dir depends on ls.c, since that's where it's --help text is.
|
|
dir.1: $(common_dep) $(srcdir)/dir.x ../src/ls.c
|
|
|
|
dircolors.1: $(common_dep) $(srcdir)/dircolors.x ../src/dircolors.c
|
|
dirname.1: $(common_dep) $(srcdir)/dirname.x ../src/dirname.c
|
|
du.1: $(common_dep) $(srcdir)/du.x ../src/du.c
|
|
echo.1: $(common_dep) $(srcdir)/echo.x ../src/echo.c
|
|
env.1: $(common_dep) $(srcdir)/env.x ../src/env.c
|
|
expand.1: $(common_dep) $(srcdir)/expand.x ../src/expand.c
|
|
expr.1: $(common_dep) $(srcdir)/expr.x ../src/expr.c
|
|
factor.1: $(common_dep) $(srcdir)/factor.x ../src/factor.c
|
|
false.1: $(common_dep) $(srcdir)/false.x ../src/false.c
|
|
fmt.1: $(common_dep) $(srcdir)/fmt.x ../src/fmt.c
|
|
fold.1: $(common_dep) $(srcdir)/fold.x ../src/fold.c
|
|
groups.1: $(common_dep) $(srcdir)/groups.x ../src/groups.sh
|
|
head.1: $(common_dep) $(srcdir)/head.x ../src/head.c
|
|
hostid.1: $(common_dep) $(srcdir)/hostid.x ../src/hostid.c
|
|
hostname.1: $(common_dep) $(srcdir)/hostname.x ../src/hostname.c
|
|
id.1: $(common_dep) $(srcdir)/id.x ../src/id.c
|
|
install.1: $(common_dep) $(srcdir)/install.x ../src/install.c
|
|
join.1: $(common_dep) $(srcdir)/join.x ../src/join.c
|
|
link.1: $(common_dep) $(srcdir)/link.x ../src/link.c
|
|
ln.1: $(common_dep) $(srcdir)/ln.x ../src/ln.c
|
|
logname.1: $(common_dep) $(srcdir)/logname.x ../src/logname.c
|
|
ls.1: $(common_dep) $(srcdir)/ls.x ../src/ls.c
|
|
md5sum.1: $(common_dep) $(srcdir)/md5sum.x ../src/md5sum.c
|
|
mkdir.1: $(common_dep) $(srcdir)/mkdir.x ../src/mkdir.c
|
|
mkfifo.1: $(common_dep) $(srcdir)/mkfifo.x ../src/mkfifo.c
|
|
mknod.1: $(common_dep) $(srcdir)/mknod.x ../src/mknod.c
|
|
mv.1: $(common_dep) $(srcdir)/mv.x ../src/mv.c
|
|
nice.1: $(common_dep) $(srcdir)/nice.x ../src/nice.c
|
|
nl.1: $(common_dep) $(srcdir)/nl.x ../src/nl.c
|
|
nohup.1: $(common_dep) $(srcdir)/nohup.x ../src/nohup.sh
|
|
od.1: $(common_dep) $(srcdir)/od.x ../src/od.c
|
|
paste.1: $(common_dep) $(srcdir)/paste.x ../src/paste.c
|
|
pathchk.1: $(common_dep) $(srcdir)/pathchk.x ../src/pathchk.c
|
|
pinky.1: $(common_dep) $(srcdir)/pinky.x ../src/pinky.c
|
|
pr.1: $(common_dep) $(srcdir)/pr.x ../src/pr.c
|
|
printenv.1: $(common_dep) $(srcdir)/printenv.x ../src/printenv.c
|
|
printf.1: $(common_dep) $(srcdir)/printf.x ../src/printf.c
|
|
ptx.1: $(common_dep) $(srcdir)/ptx.x ../src/ptx.c
|
|
pwd.1: $(common_dep) $(srcdir)/pwd.x ../src/pwd.c
|
|
readlink.1: $(common_dep) $(srcdir)/readlink.x ../src/readlink.c
|
|
rm.1: $(common_dep) $(srcdir)/rm.x ../src/rm.c
|
|
rmdir.1: $(common_dep) $(srcdir)/rmdir.x ../src/rmdir.c
|
|
seq.1: $(common_dep) $(srcdir)/seq.x ../src/seq.c
|
|
sha1sum.1: $(common_dep) $(srcdir)/sha1sum.x ../src/md5sum.c
|
|
shred.1: $(common_dep) $(srcdir)/shred.x ../src/shred.c
|
|
sleep.1: $(common_dep) $(srcdir)/sleep.x ../src/sleep.c
|
|
sort.1: $(common_dep) $(srcdir)/sort.x ../src/sort.c
|
|
split.1: $(common_dep) $(srcdir)/split.x ../src/split.c
|
|
stat.1: $(common_dep) $(srcdir)/stat.x ../src/stat.c
|
|
stty.1: $(common_dep) $(srcdir)/stty.x ../src/stty.c
|
|
su.1: $(common_dep) $(srcdir)/su.x ../src/su.c
|
|
sum.1: $(common_dep) $(srcdir)/sum.x ../src/sum.c
|
|
sync.1: $(common_dep) $(srcdir)/sync.x ../src/sync.c
|
|
tac.1: $(common_dep) $(srcdir)/tac.x ../src/tac.c
|
|
tail.1: $(common_dep) $(srcdir)/tail.x ../src/tail.c
|
|
tee.1: $(common_dep) $(srcdir)/tee.x ../src/tee.c
|
|
test.1: $(common_dep) $(srcdir)/test.x ../src/test.c
|
|
touch.1: $(common_dep) $(srcdir)/touch.x ../src/touch.c
|
|
tr.1: $(common_dep) $(srcdir)/tr.x ../src/tr.c
|
|
true.1: $(common_dep) $(srcdir)/true.x ../src/true.c
|
|
tsort.1: $(common_dep) $(srcdir)/tsort.x ../src/tsort.c
|
|
tty.1: $(common_dep) $(srcdir)/tty.x ../src/tty.c
|
|
uname.1: $(common_dep) $(srcdir)/uname.x ../src/uname.c
|
|
unexpand.1: $(common_dep) $(srcdir)/unexpand.x ../src/unexpand.c
|
|
uniq.1: $(common_dep) $(srcdir)/uniq.x ../src/uniq.c
|
|
unlink.1: $(common_dep) $(srcdir)/unlink.x ../src/unlink.c
|
|
uptime.1: $(common_dep) $(srcdir)/uptime.x ../src/uptime.c
|
|
users.1: $(common_dep) $(srcdir)/users.x ../src/users.c
|
|
vdir.1: $(common_dep) $(srcdir)/vdir.x ../src/ls.c
|
|
wc.1: $(common_dep) $(srcdir)/wc.x ../src/wc.c
|
|
who.1: $(common_dep) $(srcdir)/who.x ../src/who.c
|
|
whoami.1: $(common_dep) $(srcdir)/whoami.x ../src/whoami.c
|
|
yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c
|
|
|
|
# Note the use of $t/$*, rather than just `$*' as in other packages.
|
|
# That is necessary to avoid failures for programs that are also shell built-in
|
|
# functions like echo, false, printf, pwd.
|
|
.x.1:
|
|
@echo "Updating man page $@"; \
|
|
mkdir $t; \
|
|
ln -s ../../src/$(mapped_name) $t/$*; \
|
|
$(HELP2MAN) \
|
|
--include=$(srcdir)/$*.x \
|
|
--output=$@ $t/$*; \
|
|
rm -rf $t
|
|
|
|
check-local: check-x-vs-1
|
|
|
|
# Ensure that for each .x file in this directory, there is a
|
|
# corresponding .1 file in the definition of $(dist_man_MANS) above.
|
|
.PHONY: check-x-vs-1
|
|
check-x-vs-1:
|
|
PATH=../src@PATH_SEPARATOR@$$PATH; export PATH; \
|
|
t=ls-files.$$$$; \
|
|
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | sort > $$t; \
|
|
echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | sort -u \
|
|
| diff - $$t || { rm $$t; exit 1; }; \
|
|
rm $$t
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|