summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorwl <wl>2008-05-02 05:14:21 +0000
committerwl <wl>2008-05-02 05:14:21 +0000
commit1eb6b2bde9646074a2e69c17d4ff7f42bfe6dc23 (patch)
treebe4f8a48928c8f549c129578783c78a5a69ce390 /contrib
parenta4a82544d13635b45d6c3a848ad26eca82ae48cf (diff)
downloadgroff-1eb6b2bde9646074a2e69c17d4ff7f42bfe6dc23.tar.gz
* contrib/chem/Makefile.sub (README, examples/README): In makefiles,
the `$<' macro is only guaranteed to be defined in inference rules, not in explicit target rules. Since there is only one input file in the places where it is used, the `$?' macro (which is guaranteed to be defined for both kinds of rules) is a suitable replacement. * hdtbl/examples/fonts_n.in, hdtbl/examples/fonts_n.in: Most versions of ls don't have a `--color' option.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/chem/Makefile.sub4
-rw-r--r--contrib/hdtbl/examples/fonts_n.in2
-rw-r--r--contrib/hdtbl/examples/fonts_x.in2
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/chem/Makefile.sub b/contrib/chem/Makefile.sub
index 426cb2a1..0ad617cc 100644
--- a/contrib/chem/Makefile.sub
+++ b/contrib/chem/Makefile.sub
@@ -35,11 +35,11 @@ RM=rm -f
all: README examples/README chem $(MAN1)
README: $(srcdir)/README.txt
- sed -e "s|@g@|$(g)|g" $< >$@
+ sed -e "s|@g@|$(g)|g" $? >$@
examples/README: $(srcdir)/examples/README.txt
-test -d examples || $(mkinstalldirs) examples
- sed -e "s|@g@|$(g)|g" $< >$@
+ sed -e "s|@g@|$(g)|g" $? >$@
chem: $(srcdir)/chem.pl $(SH_DEPS_SED_SCRIPT)
sed -f "$(SH_DEPS_SED_SCRIPT)" \
diff --git a/contrib/hdtbl/examples/fonts_n.in b/contrib/hdtbl/examples/fonts_n.in
index 4330ec53..f6146f04 100644
--- a/contrib/hdtbl/examples/fonts_n.in
+++ b/contrib/hdtbl/examples/fonts_n.in
@@ -49,7 +49,7 @@ Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA
.
. pso bash -c \
"echo -n .ds *f\ ; \
- ls --color=never \\*[fontpath]/dev\*[.T] \
+ ls \\*[fontpath]/dev\*[.T] \
| tr '[:cntrl:]' ' '"
. \" This dummy line is necessary; the preceding line eats it.
.
diff --git a/contrib/hdtbl/examples/fonts_x.in b/contrib/hdtbl/examples/fonts_x.in
index b3ee8393..25015bad 100644
--- a/contrib/hdtbl/examples/fonts_x.in
+++ b/contrib/hdtbl/examples/fonts_x.in
@@ -49,7 +49,7 @@ Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA
.
. pso bash -c \
"echo -n .ds *f\ ; \
- ls --color=never \\*[fontpath]/dev\*[.T] \
+ ls \\*[fontpath]/dev\*[.T] \
| tr '[:cntrl:]' ' '"
. \" This dummy line is necessary; the preceding line eats it.
.