diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-26 08:59:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-26 08:59:09 +0000 |
commit | 3ea73260f1c4fedeb7d4b54283a5b7c7d1644265 (patch) | |
tree | 9ecf6bebaed788057cc09900d5490e4c5c547748 | |
parent | c165be06cbf4a9911dfdbc52b42a6f2669e7af65 (diff) | |
download | coreutils-3ea73260f1c4fedeb7d4b54283a5b7c7d1644265.tar.xz |
* src/rm.c: Include "dirname.h".
(usage): Use base_name (program_name) in body of --help output.
This lets me...
* man/Makefile.am (.x.1): ...back out the kludge of 2003-07-22.
-rw-r--r-- | man/Makefile.am | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index b0e397bdd..f40cb3640 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -124,18 +124,13 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'` # 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. -# The shenanigans after invoking $(HELP2MAN) are solely to convert the -# two uses of program_name in rm.1's examples with `rm'. -# Otherwise, they would otherwise appear as `rm.td/rm'. .x.1: @echo "Updating man page $@"; \ mkdir $t; \ (cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \ $(HELP2MAN) \ --include=$(srcdir)/$*.x \ - --output=$@t $t/$*$(EXEEXT) - sed 's,$t/$*,$*,' $@t > $@t2 - mv $@t2 $@ + --output=$@ $t/$*$(EXEEXT); \ rm -rf $t check-local: check-x-vs-1 check-programs-vs-x |