[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] syntax error in grog.pl
From: |
Bernd Warken |
Subject: |
Re: [Groff] syntax error in grog.pl |
Date: |
Sat, 8 Jun 2002 18:38:10 +0200 |
User-agent: |
Mutt/1.2.5i |
grog.pl has more bugs. But as it was decided to move to grog.sh it is
not worth to go on hunting. The actual grog.sh works for my purposes.
The following patch chooses grog.sh instead of grog.pl at install time.
--- Makefile.sub.orig Fri Jun 15 12:55:08 2001
+++ Makefile.sub Sat Jun 8 16:10:16 2002
@@ -3,7 +3,14 @@
all: grog
-grog: grog.pl grog.sh
+grog: grog.sh
+ rm -f $@
+ sed -e "s|@g@|$(g)|g" \
+ -e "s|@VERSION@|$(version)$(revision)|" \
+ -e $(SH_SCRIPT_SED_CMD) $(srcdir)/grog.sh >$@
+ chmod +x $@
+
+grog.old: grog.pl grog.sh
if test -n "$(PERLPATH)" && test -f "$(PERLPATH)"; then \
rm -f $@; \
sed -e "s|/usr/bin/perl|$(PERLPATH)|" \
This is just a kludge, but minimally invasive.
Bernd Warken