summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKO Myung-Hun <komh@chollian.net>2014-12-14 12:47:38 +0900
committerPádraig Brady <P@draigBrady.com>2014-12-19 02:04:18 +0000
commit178f8e79dcd1e0b8bbb3b04da664d05eaae56186 (patch)
treefb34d0af05434a5f9b9878c43c8b800cd6a00826
parent70d8d0f874d11990be48b7b6b70c2c274000b3da (diff)
downloadcoreutils-178f8e79dcd1e0b8bbb3b04da664d05eaae56186.tar.xz
build: add $(EXEEXT) suffix to man page make targets
* man/local.mk: Add $(EXEEXT) suffix to the executables, which is significant on OS/2 for example.
-rw-r--r--man/local.mk217
1 files changed, 109 insertions, 108 deletions
diff --git a/man/local.mk b/man/local.mk
index 24cdce00f..7c5ba5762 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -58,112 +58,112 @@ else
# Most prog.1 man pages depend on src/prog. List the exceptions:
# Note that dir and vdir are exceptions only if you consider the name
# of the .c file upon which they depend: ls.c.
-man/arch.1: src/uname
-man/dir.1: src/dir
-man/install.1: src/ginstall
-man/vdir.1: src/vdir
-
-man/base64.1: src/base64
-man/basename.1: src/basename
-man/cat.1: src/cat
-man/chcon.1: src/chcon
-man/chgrp.1: src/chgrp
-man/chmod.1: src/chmod
-man/chown.1: src/chown
-man/chroot.1: src/chroot
-man/cksum.1: src/cksum
-man/comm.1: src/comm
-man/coreutils.1: src/coreutils
-man/cp.1: src/cp
-man/csplit.1: src/csplit
-man/cut.1: src/cut
-man/date.1: src/date
-man/dd.1: src/dd
-man/df.1: src/df
-man/dircolors.1: src/dircolors
-man/dirname.1: src/dirname
-man/du.1: src/du
-man/echo.1: src/echo
-man/env.1: src/env
-man/expand.1: src/expand
-man/expr.1: src/expr
-man/factor.1: src/factor
-man/false.1: src/false
-man/fmt.1: src/fmt
-man/fold.1: src/fold
-man/groups.1: src/groups
-man/head.1: src/head
-man/hostid.1: src/hostid
-man/hostname.1: src/hostname
-man/id.1: src/id
-man/join.1: src/join
-man/kill.1: src/kill
-man/link.1: src/link
-man/ln.1: src/ln
-man/logname.1: src/logname
-man/ls.1: src/ls
-man/md5sum.1: src/md5sum
-man/mkdir.1: src/mkdir
-man/mkfifo.1: src/mkfifo
-man/mknod.1: src/mknod
-man/mktemp.1: src/mktemp
-man/mv.1: src/mv
-man/nice.1: src/nice
-man/nl.1: src/nl
-man/nohup.1: src/nohup
-man/nproc.1: src/nproc
-man/numfmt.1: src/numfmt
-man/od.1: src/od
-man/paste.1: src/paste
-man/pathchk.1: src/pathchk
-man/pinky.1: src/pinky
-man/pr.1: src/pr
-man/printenv.1: src/printenv
-man/printf.1: src/printf
-man/ptx.1: src/ptx
-man/pwd.1: src/pwd
-man/readlink.1: src/readlink
-man/realpath.1: src/realpath
-man/rm.1: src/rm
-man/rmdir.1: src/rmdir
-man/runcon.1: src/runcon
-man/seq.1: src/seq
-man/sha1sum.1: src/sha1sum
-man/sha224sum.1: src/sha224sum
-man/sha256sum.1: src/sha256sum
-man/sha384sum.1: src/sha384sum
-man/sha512sum.1: src/sha512sum
-man/shred.1: src/shred
-man/shuf.1: src/shuf
-man/sleep.1: src/sleep
-man/sort.1: src/sort
-man/split.1: src/split
-man/stat.1: src/stat
-man/stdbuf.1: src/stdbuf
-man/stty.1: src/stty
-man/sum.1: src/sum
-man/sync.1: src/sync
-man/tac.1: src/tac
-man/tail.1: src/tail
-man/tee.1: src/tee
-man/test.1: src/test
-man/timeout.1: src/timeout
-man/touch.1: src/touch
-man/tr.1: src/tr
-man/true.1: src/true
-man/truncate.1: src/truncate
-man/tsort.1: src/tsort
-man/tty.1: src/tty
-man/uname.1: src/uname
-man/unexpand.1: src/unexpand
-man/uniq.1: src/uniq
-man/unlink.1: src/unlink
-man/uptime.1: src/uptime
-man/users.1: src/users
-man/wc.1: src/wc
-man/who.1: src/who
-man/whoami.1: src/whoami
-man/yes.1: src/yes
+man/arch.1: src/uname$(EXEEXT)
+man/dir.1: src/dir$(EXEEXT)
+man/install.1: src/ginstall$(EXEEXT)
+man/vdir.1: src/vdir$(EXEEXT)
+
+man/base64.1: src/base64$(EXEEXT)
+man/basename.1: src/basename$(EXEEXT)
+man/cat.1: src/cat$(EXEEXT)
+man/chcon.1: src/chcon$(EXEEXT)
+man/chgrp.1: src/chgrp$(EXEEXT)
+man/chmod.1: src/chmod$(EXEEXT)
+man/chown.1: src/chown$(EXEEXT)
+man/chroot.1: src/chroot$(EXEEXT)
+man/cksum.1: src/cksum$(EXEEXT)
+man/comm.1: src/comm$(EXEEXT)
+man/coreutils.1: src/coreutils$(EXEEXT)
+man/cp.1: src/cp$(EXEEXT)
+man/csplit.1: src/csplit$(EXEEXT)
+man/cut.1: src/cut$(EXEEXT)
+man/date.1: src/date$(EXEEXT)
+man/dd.1: src/dd$(EXEEXT)
+man/df.1: src/df$(EXEEXT)
+man/dircolors.1: src/dircolors$(EXEEXT)
+man/dirname.1: src/dirname$(EXEEXT)
+man/du.1: src/du$(EXEEXT)
+man/echo.1: src/echo$(EXEEXT)
+man/env.1: src/env$(EXEEXT)
+man/expand.1: src/expand$(EXEEXT)
+man/expr.1: src/expr$(EXEEXT)
+man/factor.1: src/factor$(EXEEXT)
+man/false.1: src/false$(EXEEXT)
+man/fmt.1: src/fmt$(EXEEXT)
+man/fold.1: src/fold$(EXEEXT)
+man/groups.1: src/groups$(EXEEXT)
+man/head.1: src/head$(EXEEXT)
+man/hostid.1: src/hostid$(EXEEXT)
+man/hostname.1: src/hostname$(EXEEXT)
+man/id.1: src/id$(EXEEXT)
+man/join.1: src/join$(EXEEXT)
+man/kill.1: src/kill$(EXEEXT)
+man/link.1: src/link$(EXEEXT)
+man/ln.1: src/ln$(EXEEXT)
+man/logname.1: src/logname$(EXEEXT)
+man/ls.1: src/ls$(EXEEXT)
+man/md5sum.1: src/md5sum$(EXEEXT)
+man/mkdir.1: src/mkdir$(EXEEXT)
+man/mkfifo.1: src/mkfifo$(EXEEXT)
+man/mknod.1: src/mknod$(EXEEXT)
+man/mktemp.1: src/mktemp$(EXEEXT)
+man/mv.1: src/mv$(EXEEXT)
+man/nice.1: src/nice$(EXEEXT)
+man/nl.1: src/nl$(EXEEXT)
+man/nohup.1: src/nohup$(EXEEXT)
+man/nproc.1: src/nproc$(EXEEXT)
+man/numfmt.1: src/numfmt$(EXEEXT)
+man/od.1: src/od$(EXEEXT)
+man/paste.1: src/paste$(EXEEXT)
+man/pathchk.1: src/pathchk$(EXEEXT)
+man/pinky.1: src/pinky$(EXEEXT)
+man/pr.1: src/pr$(EXEEXT)
+man/printenv.1: src/printenv$(EXEEXT)
+man/printf.1: src/printf$(EXEEXT)
+man/ptx.1: src/ptx$(EXEEXT)
+man/pwd.1: src/pwd$(EXEEXT)
+man/readlink.1: src/readlink$(EXEEXT)
+man/realpath.1: src/realpath$(EXEEXT)
+man/rm.1: src/rm$(EXEEXT)
+man/rmdir.1: src/rmdir$(EXEEXT)
+man/runcon.1: src/runcon$(EXEEXT)
+man/seq.1: src/seq$(EXEEXT)
+man/sha1sum.1: src/sha1sum$(EXEEXT)
+man/sha224sum.1: src/sha224sum$(EXEEXT)
+man/sha256sum.1: src/sha256sum$(EXEEXT)
+man/sha384sum.1: src/sha384sum$(EXEEXT)
+man/sha512sum.1: src/sha512sum$(EXEEXT)
+man/shred.1: src/shred$(EXEEXT)
+man/shuf.1: src/shuf$(EXEEXT)
+man/sleep.1: src/sleep$(EXEEXT)
+man/sort.1: src/sort$(EXEEXT)
+man/split.1: src/split$(EXEEXT)
+man/stat.1: src/stat$(EXEEXT)
+man/stdbuf.1: src/stdbuf$(EXEEXT)
+man/stty.1: src/stty$(EXEEXT)
+man/sum.1: src/sum$(EXEEXT)
+man/sync.1: src/sync$(EXEEXT)
+man/tac.1: src/tac$(EXEEXT)
+man/tail.1: src/tail$(EXEEXT)
+man/tee.1: src/tee$(EXEEXT)
+man/test.1: src/test$(EXEEXT)
+man/timeout.1: src/timeout$(EXEEXT)
+man/touch.1: src/touch$(EXEEXT)
+man/tr.1: src/tr$(EXEEXT)
+man/true.1: src/true$(EXEEXT)
+man/truncate.1: src/truncate$(EXEEXT)
+man/tsort.1: src/tsort$(EXEEXT)
+man/tty.1: src/tty$(EXEEXT)
+man/uname.1: src/uname$(EXEEXT)
+man/unexpand.1: src/unexpand$(EXEEXT)
+man/uniq.1: src/uniq$(EXEEXT)
+man/unlink.1: src/unlink$(EXEEXT)
+man/uptime.1: src/uptime$(EXEEXT)
+man/users.1: src/users$(EXEEXT)
+man/wc.1: src/wc$(EXEEXT)
+man/who.1: src/who$(EXEEXT)
+man/whoami.1: src/whoami$(EXEEXT)
+man/yes.1: src/yes$(EXEEXT)
endif
.x.1:
@@ -183,13 +183,14 @@ endif
&& t=$*.td \
&& rm -rf $$t \
&& $(MKDIR_P) $$t \
- && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog $$argv) \
+ && (cd $$t && $(LN_S) '$(abs_top_builddir)/src/'$$prog$(EXEEXT) \
+ $$argv$(EXEEXT)) \
&& $(run_help2man) \
--source='$(PACKAGE_STRING)' \
--include=$(srcdir)/man/$$name.x \
--output=$$t/$$name.1 \
--info-page='\(aq(coreutils) '$$name' invocation\(aq' \
- $$t/$$argv \
+ $$t/$$argv$(EXEEXT) \
&& sed \
-e 's|$*\.td/||g' \
-e '/For complete documentation/d' \