Most variables for prefixes are detected by MakeRecipe, so this should be taken care of, however INSTALL_PREFIX isn't in the list of possible variables, so it isn't detected.
To devs: This app is tricky to make recipe for. The test used to check if the app is autoconf is triggered even though it's based on makefile. The test is: if grep -q "configure.in$" "$file_contents" \ || grep -q "configure.ac$" "$file_contents" and as there are a configure.in file (Io-2007-01-04/addons/SGML/source/libsgml/configure.in) this test returns true. Should one check the number of slashes in the path, to not check too far down the tree? Another thing; Would it be safe to add INSTALL_PREFIX to the list of possible variables in MakeRecipe? /Jonas 2007/2/5, Patrick M Gremo <[EMAIL PROTECTED]>: > > Thanks, > > That worked. Is this on the wiki somewhere that I missed? > > > On 2/4/07, Patrick M Gremo <[EMAIL PROTECTED]> wrote: > > > I'm trying to install Io http://www.iolanguage.com. > > > > > > The compile works fine, but when I try to install every file is listed > as a > > > leftover by SandboxInstall. I don't see anything unusual. > > > > > > > > > Snippet from Makefile: > > > > > > INSTALL_PREFIX ?= /usr/local > > > > > > ...... > > > > > > install: > > > umask 022 > > > mkdir -p $(INSTALL_PREFIX)/{bin,lib} || true > > > cp _build/binaries/io$(BINARY_SUFFIX) > > > $(INSTALL_PREFIX)/bin || true > > > chmod ugo+rx $(INSTALL_PREFIX)/bin/io > > > cp _build/binaries/io_static$(BINARY_SUFFIX) > > > $(INSTALL_PREFIX)/bin > > > chmod ugo+rx > > > $(INSTALL_PREFIX)/bin/io_static$(BINARY_SUFFIX) || > true > > > cp _build/dll/* $(INSTALL_PREFIX)/lib || true > > > cp _build/lib/* $(INSTALL_PREFIX)/lib || true > > > rm -rf $(INSTALL_PREFIX)/lib/io || true > > > mkdir -p $(INSTALL_PREFIX)/lib/io || true > > > cp -fR addons $(INSTALL_PREFIX)/lib/io > > > chmod -R ugo+rX $(INSTALL_PREFIX)/lib/io > > > > Do you have ' make_variables=("INSTALL_PREFIX=$target") > ' in your recipe? > > > > -- > > Lucas > > powered by /dev/dsp > > > > _______________________________________________ > gobolinux-users mailing list > [EMAIL PROTECTED] > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users > > _______________________________________________ gobolinux-devel mailing list [email protected] http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
