[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] groffer and gxditview
From: |
Bernd Warken |
Subject: |
[Groff] groffer and gxditview |
Date: |
Mon, 03 May 2004 23:19:24 +0200 |
The groffer util uses gxditview as the default viewer because gxditview is part
of groff. Unfortunately, it is not installed by default.
The easiest way to get gxditview nevertheless seems to be to ad its
configuration and installation in groffer's Makefile.sub:
######### Makefile.sub in contrib/groffer
MAN1=groffer.n
CLEANADD=groffer
GXDITVIEWDIR=../../src/xditview
all: groffer gxditview
groffer: groffer.sh
rm -f $@; \
sed -e "s|@BINDIR@|$(bindir)|g" \
-e "s|@VERSION@|$(version)$(revision)|g" \
-e $(SH_SCRIPT_SED_CMD) $(srcdir)/groffer.sh >$@; \
chmod +x $@
gxditview:
(cd $(GXDITVIEWDIR); xmkmf; make depend; make)
install_data: all
-test -d $(bindir) || $(mkinstalldirs) $(bindir)
-rm -f $(bindir)/groffer
$(INSTALL_SCRIPT) groffer $(bindir)/groffer
(cd $(GXDITVIEWDIR); make install; make install.man)
uninstall_sub:
-rm -f $(bindir)/groffer
(cd $(GXDITVIEWDIR); make clean)
#################
Any complaints?
Bernd Warken
____________________________________________________________________
Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F!
Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158
- [Groff] groffer and gxditview,
Bernd Warken <=