Re: [hackers] [tabbed] Makefile: add xembed.1 in the dist target || Hiltjo Posthuma

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Thu, 13 Oct 2022 01:09:22 +0200

On Thu, Oct 13, 2022 at 03:40:34AM +0600, NRK wrote:
> On Wed, Oct 12, 2022 at 11:02:14PM +0200, git_AT_suckless.org wrote:
> > commit 910e67db33dc295b73c1861a79d520b0bd527b2d
> > Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
> > AuthorDate: Wed Oct 12 22:55:21 2022 +0200
> > Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
> > CommitDate: Wed Oct 12 22:55:21 2022 +0200
> >
> > Makefile: add xembed.1 in the dist target
> >
> > diff --git a/Makefile b/Makefile
> > index 1b95d15..5c8c19e 100644
> > --- a/Makefile
> > +++ b/Makefile
> > _AT_@ -37,7 +37,7 @@ dist: clean
> > _AT_echo creating dist tarball
> > _AT_mkdir -p tabbed-${VERSION}
> > _AT_cp -R LICENSE Makefile README config.def.h config.mk \
> > - tabbed.1 arg.h ${SRC} tabbed-${VERSION}
> > + tabbed.1 xembed.1 arg.h ${SRC} tabbed-${VERSION}
> > _AT_tar -cf tabbed-${VERSION}.tar tabbed-${VERSION}
> > _AT_gzip tabbed-${VERSION}.tar
> > _AT_rm -rf tabbed-${VERSION}
> >
>
> Might be worth it to use something like `git ls-files` to grab the list
> of files.
>
> - NRK
>

Theres no need for a dependency on git, this way it also works when downloading
the tarball and running make dist (just an example).

-- 
Kind regards,
Hiltjo
Received on Thu Oct 13 2022 - 01:09:22 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 13 2022 - 01:12:36 CEST