#!/usr/bin/make -f # $Id$ include /usr/share/cdbs/1/rules/debhelper.mk DEB_DH_ALWAYS_EXCLUDE := .svn package = jnix docdir = debian/tmp/usr/share/doc/$(package) JAVAINC=$(shell readlink -f /usr/bin/javac |sed -e 's/bin\/javac/include/') builddir = build/unix INSTALL_PROGRAM = install common-build-arch:: cd $(builddir) && $(MAKE) JAVAINC=$(JAVAINC) touch common-build-arch clean:: rm -f common-install-arch common-build-arch rm -rf *~ debian/jnix debian/substvars $(MAKE) -C build/mingw32 clean $(MAKE) -C build/mingw64 clean $(MAKE) -C build/unix clean common-install-arch:: rm -rf debian/jnix debian/mingw-w32-jnix debian/mingw-w64-jnix mkdir -p debian/jnix/usr/include mkdir -p debian/jnix/usr/lib cp -p src/jnix.h debian/jnix/usr/include cp -p $(builddir)/libjnix.a debian/jnix/usr/lib touch common-install-arch