git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Michal Vasilek <michal.vasilek@nic.cz>
To: git@vger.kernel.org
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Subject: [Bug] make gitweb with GITWEB_JS set fails to build
Date: Thu, 16 Feb 2023 13:35:54 +0100	[thread overview]
Message-ID: <80eb3972-4960-5727-ce86-acc3a4425fd4@nic.cz> (raw)

What did you do before the bug happened? (Steps to reproduce your issue)

I ran make gitweb with the GITWEB_JS variable set on git 2.39.2, 
specifically:

     make gitweb GITWEB_JS=/www/gitweb.js


What did you expect to happen? (Expected behavior)

I expected the build to pass and that the GITWEB_JS (or GITWEB_CSS) variable
will only be used for changing the path for gitweb.js in gitweb.cgi like it
used to before 2.38.0 (before 564ebde3d323fc3b22534dcbb32723807771b955)

What happened instead? (Actual behavior)

The build failed with:

         GEN gitweb/gitweb.cgi
     make: *** No rule to make target 'gitweb//www/gitweb.js', needed by 
'gitweb'.  Stop.

What's different between what you expected and what actually happened?

Anything else you want to add:

This is caused by 564ebde3d323fc3b22534dcbb32723807771b955, but I am not 
sure
what exactly is the issue there, so I am only reporting this and leaving the
fix to someone else.


[System Info]
git version:
git version 2.39.2
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
compiler info: gnuc: 12.2
libc info: glibc: 2.36
$SHELL (typically, interactive shell): /bin/bash


                 reply	other threads:[~2023-02-16 12:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=80eb3972-4960-5727-ce86-acc3a4425fd4@nic.cz \
    --to=michal.vasilek@nic.cz \
    --cc=avarab@gmail.com \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).