On Wed, 14 Sep 2022 16:45:44 +0200 Axel Rau <[email protected]> wrote:
> > Am 14.09.2022 um 16:11 schrieb Gleb Popov <[email protected]>: > > > > On Wed, Sep 14, 2022 at 5:09 PM Axel Rau <[email protected]> > > wrote: > >> > >> Hi all, > >> > >> I have a shell script in files which installs a bunch of packages. > >> Naively, I have tried: > >> - - - > >> post-extract: \ > >> ${SH} files/home2l_packages.sh > > > > ${SH} ${PATCHDIR}/home2l_packages.sh > > > Thanks, but this gives: > - - - > make: don't know how to make /home2l_packages.sh. Stop > - - - > This looks like ${PATCHDIR} is not defined. I think you should drop \, because effectively this means you are writing post-extract: ${SH} files/home2l_packages.sh and in Makefile, what is before : is target, and what is after : is dependecy list. In this case, your command is not invoked, it is being evaluated as dependency list to check and build before target. Regards, Milan
