Page 1 of 1

adjustments to Makefile...

Posted: Fri Jul 15, 2005 8:19 pm
by tom
Hi Lutz, guys,

I'm trying to make a newlisp package for Arch Linux. So far, I've
been unsuccessful. the "build" section of the script that generates
the package has this line in it:

Code: Select all

make DESTDIR=$startdir/pkg install
So, how much trouble would it be to make the makefile support
"DESTDIR?"

Thanks!

Posted: Fri Jul 15, 2005 8:46 pm
by Lutz
I can include the line:

Code: Select all

arch-package:
    make -f makefile_arch_package
in newlisp-x.x.x./Makefile and you deliver the 'makefile_arch_package where you can define DESTDIR and can put everything else you need to make the package. In a similar way it was done for the MAc OSX package.

The makefile_arch_package will then be included in the next release.

Lutz

Posted: Thu Jul 21, 2005 7:42 pm
by tom
Thanks Lutz!

Your extra work won't be needed. Somebody at the Arch forums told me what I was doing wrong.

if anybody's interested, there's an Arch Linux package of newlisp 8.6.0 at

http://perpetualnewbie.info/archlinux/p ... pkg.tar.gz

(btw, sorry for sticking these posts in the wrong forum)