[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Choosing not to install documentation
From: |
Steffen Dettmer |
Subject: |
Re: Choosing not to install documentation |
Date: |
Fri, 26 Jun 2009 17:21:59 +0200 |
On Fri, Jun 26, 2009 at 4:54 AM, Ralf Wildenhues<address@hidden> wrote:
> if INSTALLDOCS
> MAYBEDOCS = doc
> dist_doc_DATA = README
> else
> docdir =
> endif
> SUBDIRS = src $(MAYBEDOCS)
Can (should) SUBDIRS contain conditionals? Is automake smart to know
that MAYBEDOCS must be entered not for install but for "make dist" and
"clean" etc?
We have a somewhat similar situation here, depending on hostplatform
installation differs and we are using recursive configures
(AC_CONFIG_SUBDIRS). Even if documentation is wanted then probably not
of all but just of one package etc.
We usually have some special "install and zip" targets. We
cross-compile for the whatever target (on linux), install to a temp
directory below cwd:
$(ZIPNAME).zip: Makefile
rm -f $(ZIPNAME).zip
rm -rf $(ZIPNAME)
$(MAKE) prefix="" DESTDIR=`pwd`/$(ZIPNAME) install
zip -r "$(ZIPNAME).zip" $(ZIPNAME)
test -e $(ZIPNAME).zip
rm -rf $(ZIPNAME)
and sometimes even delete from the install dir before calling zip.
I guess there are better ways to do so?
Steffen
- Choosing not to install documentation, Kirk Strauser, 2009/06/25
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/25
- Re: Choosing not to install documentation, Ralf Wildenhues, 2009/06/25
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation, Eric Blake, 2009/06/26
- Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26
- Re: Choosing not to install documentation, Alfred M. Szmidt, 2009/06/26
- Re: Choosing not to install documentation, Ralf Wildenhues, 2009/06/27
- Re: Choosing not to install documentation,
Steffen Dettmer <=
- Re: Choosing not to install documentation, Ralf Wildenhues, 2009/06/27
Re: Choosing not to install documentation, Kirk Strauser, 2009/06/26