avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] RFC: enable optional man page generation/installation


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] RFC: enable optional man page generation/installation
Date: Sun, 19 Sep 2004 15:17:21 +0200
User-agent: Mutt/1.5.6i

As Joerg Wunsch wrote:

> @@ -262,10 +269,10 @@
>  CHECK_PNG_UTILS
>  
>  if test "$versioned_doc" = "yes"; then
> -     DOC_INST_DIR='$(DESTDIR)$(datadir)/doc/avr-libc-$(VERSION)'
> +     DOC_INST_DIR='${DESTDIR}${datadir}/doc/avr-libc-$(VERSION)'
>       AVR_LIBC_USER_MANUAL="avr-libc-user-manual-${VERSION}"
>  else
> -     DOC_INST_DIR='$(DESTDIR)$(datadir)/doc/avr-libc'
> +     DOC_INST_DIR='${DESTDIR}${datadir}/doc/avr-libc'
>       AVR_LIBC_USER_MANUAL="avr-libc-user-manual"
>  fi
>  

This chunk probably needs a bit of explanation: since I need to
substitute the location of the installed man pages into the avr-man
script, I needed an autoconf macro for them.  While `make' could cope
with both forms of parenthesation, shells scripts need the ${...}
form.  ($(...) substitutes stdout from an external command in the
shell.)

-- 
J"org Wunsch                                           Unix support engineer
Wir stellen aus! Auf der SYSTEMS 2004  vom 18.-22. Oktober in München
Halle B 3, Stand 320-206 (Partner-Stand von Sun Microsystems)
Halle B 2, Stand 605 "Die Musterfirma"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]