Re: [PATCH v2] gitk: add README with usage, build, and contributing details

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

 



On Fri, Aug 22, 2025 at 2:27 PM Johannes Sixt <j6t@xxxxxxxx> wrote:
> > +
> > +### Installation
> > +To install system-wide, you can use either `make` or `meson`:
> > +
> > +```bash
> > +# Using Make
> > +make install
>
> This doesn't install system-wide, but in $HOME/bin. I am unsure whether
> we should encourage this. AFAIC, I would be upset if this works without
> sudo *and* clutters my $HOME. (I pull Gitk into the Git repository,
> which I have patched to install in /usr/local.)
>
> How do Gitk contributors handle `make install`?

Maybe I should expand on this section and add details:
```
# Install to default location ($HOME/bin)
make install

# Install to system-wide location
sudo make install prefix=/usr/local

# Install to custom location
make install prefix=/opt/gitk
```


>
> > +
> > +# Using Meson
> > +meson setup builddir
> > +meson compile -C builddir
> > +meson install -C builddir
> > +```
>
> I haven't used the Meson infrastructure ever. I trust this procedure works.
>

Yes, I installed `meson` and ran these steps.  It replaced my
previously installed version


I'll send a new revision in a day or two.

Thanks for the look,
_Mike





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux