#!/usr/bin/make -f pkg := cluck debpkg := cl-$(pkg) clc-source := usr/share/common-lisp/source clc-systems := usr/share/common-lisp/systems clc-files := $(clc-source)/$(pkg) clc-tests := $(clc-source)/$(pkg-tests) configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs --all $(clc-systems) $(clc-source) # Add here commands to install the package into debian/uffi. dh_installdirs -p $(debpkg) $(doc-dir) $(clc-files) dh_install $(pkg).asd $(clc-files) dh_install "*.lisp" $(clc-files) dh_link $(clc-files)/$(pkg).asd $(clc-systems)/$(pkg).asd # Build architecture-independent files here. binary-indep: build install # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs cluck.txt dh_installchangelogs dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure