diff --context=2 neko-1.3-src/Makefile neko-1.3-src-gentoo/Makefile *** neko-1.3-src/Makefile Wed May 10 04:19:56 2006 --- neko-1.3-src-gentoo/Makefile Sat Jun 3 13:46:06 2006 *************** *** 7,10 **** --- 7,11 ---- NEKOVM_FLAGS = -Lbin -lneko STD_NDLL_FLAGS = ${NEKOVM_FLAGS} + VERSION = 1.3 NEKO_EXEC = LD_LIBRARY_PATH=../bin:${LD_LIBRARY_PATH} NEKOPATH=../boot:../bin ../bin/neko *************** *** 91,94 **** --- 92,112 ---- ${MAKESO} -o $@ ${STD_OBJECTS} ${STD_NDLL_FLAGS} + install: install-headers + install -d ${DESTDIR}/usr/lib/neko + install -d ${DESTDIR}/usr/bin + cp -pR bin/* ${DESTDIR}/usr/lib/neko + ln -s ${DESTDIR}/usr/lib/neko/neko ${DESTDIR}/usr/bin/neko + ln -s ${DESTDIR}/usr/lib/neko/nekoc ${DESTDIR}/usr/bin/nekoc + ln -s ${DESTDIR}/usr/lib/neko/nekotools ${DESTDIR}/usr/bin/nekotools + + install-headers: + install -d ${DESTDIR}/usr/include/neko + install -m 644 vm/*.h ${DESTDIR}/usr/include/neko/ + + install-doc: + install -d ${DESTDIR}/usr/doc/neko-${VERSION} + install -m 644 CHANGES ${DESTDIR}/usr/doc/neko-${VERSION} + install -m 644 LICENSE ${DESTDIR}/usr/doc/neko-${VERSION} + clean: rm -rf bin/${LIBNEKO_NAME} ${LIBNEKO_OBJECTS} ${VM_OBJECTS} Only in neko-1.3-src-gentoo/: bin Common subdirectories: neko-1.3-src/boot and neko-1.3-src-gentoo/boot Common subdirectories: neko-1.3-src/libs and neko-1.3-src-gentoo/libs Common subdirectories: neko-1.3-src/src and neko-1.3-src-gentoo/src Common subdirectories: neko-1.3-src/vm and neko-1.3-src-gentoo/vm