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

From: Guenther Grau <grau_at_fzi.de>
Date: Sun, 06 Oct 1996 19:32:30 +0200

Hi,

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

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!)

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

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


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

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

which I specified in the Fvwm.tmpl.

And even later you find this:

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

As DESTDIR is empty, it installes it exactly where I wanted.
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?

Hmm, I cannot really say this, as I don't know enough of it. I just know
how it works
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)

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

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

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

Any Imake.conf setup gurus around to give us a definite answer? Should
we switch
to autoconf? :-)

  Guenther
--
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 Sun Oct 06 1996 - 11:33:24 BST

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