mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 4/4] lighttpd: Install mime.conf and remove hardcoded values
Date: Fri, 11 Aug 2017 12:00:26 +0200	[thread overview]
Message-ID: <1631329.DMHTqYc5WO@ada> (raw)
In-Reply-To: <1502438642-23779-5-git-send-email-ada@thorsis.com>

Hi,

Am Freitag, 11. August 2017, 10:04:02 schrieb Alexander Dahl:
> +	@$(call targetinfo)
> +	@cd $(LIGHTTPD_DIR) && \
> +		$(LIGHTTPD_PATH) $(LIGHTTPD_MAKE_ENV) \
> +		$(MAKE) $(LIGHTTPD_INSTALL_OPT)
> +	install -D -m 644 "$(LIGHTTPD_DIR)/doc/config/conf.d/mime.conf" \
> +		"$(LIGHTTPD_PKGDIR)/etc/lighttpd/conf.d/mime.conf"
> +	@$(call touch)

This does not work as expected. I took this from the 
documentation/ref_manual. Removing the @ before cd I get this:

cd /home/adahl/Work/bsp/foo/platform-bar/build-target/lighttpd-1.4.45 && 
\
          \
        make 

Seems like those note in the documentation is misleading? When playing 
with ptxdist print I get something for LIGHTTPD_DIR, which is defined in 
rules/lighttpd.make and for LIGHTTPD_PKGDIR, which is probably defined 
somewhere outside. LIGHTTPD_PATH, LIGHTTPD_MAKE_ENV, and 
LIGHTTPD_INSTALL_OPT however are empty, so no `make install` is called 
here.

I tried to find out how other rules do this, and could just find usb-
modeswitch.make and qt4.make doing something like this:

	@$(call install, QT4)

or 

	@$(call world/install, USB_MODESWITCH)

I assume this can be used to replace the failing three lines, but what's 
the difference? This is not in the manual, is it? Some other packages 
use $(call install, …) and yet other packages $(call world/install, …) 
but none of those autoconf and @package@_INSTALL_OPT?

If somebody points me to a solution, I'll send a v2.

Greets
Alex



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-08-11 10:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11  8:03 [ptxdist] [PATCH 0/4] lighttpd: Update and suggestions from last year Alexander Dahl
2017-08-11  8:03 ` [ptxdist] [PATCH 1/4] lighttpd: Ugprade from 1.4.39 to 1.4.45 Alexander Dahl
2017-08-11  8:04 ` [ptxdist] [PATCH 2/4] lighttpd: Rename memcache option to memcached Alexander Dahl
2017-08-11  8:04 ` [ptxdist] [PATCH 3/4] lighttpd: Simplify additional config include Alexander Dahl
2017-08-11  8:04 ` [ptxdist] [PATCH 4/4] lighttpd: Install mime.conf and remove hardcoded values Alexander Dahl
2017-08-11 10:00   ` Alexander Dahl [this message]
2017-08-23  9:43     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1631329.DMHTqYc5WO@ada \
    --to=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox