Re: FVWM: Re: MANDIR vs. MANPATH in Fvwm.tmpl

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Mon, 14 Oct 96 20:17:09 +0200

>>>>> Guenther Grau writes:

G> Hi,
G> Albrecht Kadlec wrote:
> also the Bug I reported already twice, but nobody ever answered :-(

G> Ok, I'll try this time :-)

> MANPATH is settable in Fvwm.tmpl (~ Line 278) but in Line 414
> InstallManPage(program,$(MANDIR))
> is used to install the pages.
>
> in the generated Makefile, I find:
> DESTDIR = /XTech
> MANDIR = $(DESTDIR)/man/mann
> which tries to install them globally (which is not permitted to me!)

G> Hmm, by accident I had to look a little deeper into this. In my setup
G> DESTDIR is empty. The rest of the variables are defined like this

G> MANPATH = /tools/X11R6/man
G> MANSOURCEPATH = $(MANPATH)/man
G> MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)


G> And later on in the fvwm-specific section, MANPATH is overridden.

G> MANPATH = /my/home/fvwm-2.0.43/man

G> which I specified in the Fvwm.tmpl.

G> And even later you find this:

G> install.man:: fvwm2.man
G> _at_if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
G> else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
G> $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) fvwm2.man
G> $(DESTDIR)$(MANDIR)
G> /fvwm2.$(MANSUFFIX)

G> As DESTDIR is empty, it installes it exactly where I wanted.
G> This is X11R6.

> so I see three possibilities:
>
> 1.) maybe our (X11R4) setup is ruined, if so the tell me what is wrong, please.
> Should I mail the generated Makefile here?

G> Hmm, I cannot really say this, as I don't know enough of it. I just know
G> how it works
G> at our site with R6.

> 2.) Fvwm.tmpl messes up MANDIR & MANPATH
> (it seems to me that FvwmManPath should be FvwmManDir, and
> MANPATH should be MANDIR throughoutall of Fvwm.tmpl)

G> No answer to this one, too. I don't know if it is legal to rely on the
G> above setup,
G> which happens to be at our site. All I can say, it works for me and
G> probably for others :-)
G> Maybe the R4 imake setup was different and doesn't work with current
G> fvwm?

> 3.) MANDIR should also be configurable in Fvwm.tmpl,
> for those who want to install Fvwm binary & documentation in ~/anyname/

G> I think it uses MANPATH, because it wants to preserve a specific
G> directory structure
G> within the MANPATH, but I might be wrong.

G> Any Imake.conf setup gurus around to give us a definite answer? Should
G> we switch
G> to autoconf? :-)
:-)
not now, when almost everything is working at last !!!

ok an answer at last, thanks, I thought I'd talked to a wall on this topic.

hmm, now since this was the only answer to the 3rd question on the topic,
I have to think, that the imake gurus have died out with the dinosaurs.

Could anybody please take the time to clear this up for now & ever?
(I simply don't know where to start. And it would take very long for me,
since I never tackled with differences between X11 releases before)

albrecht
-- 
Give a man a fish and he has a meal for one day.
Teach a man to fish and he has meals for the rest of his life.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Oct 14 1996 - 13:21:40 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST