#!/usr/bin/make -f # Copyright (C) 2004-2005 Anibal Monsalve Salazar # Copyright (c) 2005-2006 Juan Esteban Monsalve Tobon binary: binary-arch binary-indep binary-indep: build $(checkdir) -rm -rf debian/tmp install -d -m 755 debian/tmp/usr/include/tnt install -d -m 755 debian/tmp/DEBIAN install -p -m 644 src/tnt/* debian/tmp/usr/include/tnt install -d -m 755 debian/tmp/usr/share/doc/libtnt-dev install -p -m 644 Changes debian/tmp/usr/share/doc/libtnt-dev/changelog install -p -m 644 debian/changelog debian/tmp/usr/share/doc/libtnt-dev/changelog.Debian install -p -m 644 examples debian/tmp/usr/share/doc/libtnt-dev gzip -9 debian/tmp/usr/share/doc/libtnt-dev/* install -p -m 644 README debian/tmp/usr/share/doc/libtnt-dev install -p -m 644 debian/copyright debian/tmp/usr/share/doc/libtnt-dev tar cf debian/tmp/usr/share/doc/libtnt-dev/html-tnt.tar html gzip -9 debian/tmp/usr/share/doc/libtnt-dev/html-tnt.tar chmod 644 debian/tmp/usr/share/doc/libtnt-dev/html-tnt.tar.gz dpkg-gencontrol -isp dpkg --build debian/tmp .. build: $(checkdir) touch build clean: $(checkdir) rm -f debian/files build rm -fr debian/tmp define checkdir test -f debian/rules endef checkroot: $(checkdir) test root = "`whoami`" .PHONY: binary binary-arch binary-indep build clean