X-Git-Url: http://git.kpe.io/?p=memstore.git;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=bd47a3df8e98d37ab264e26cf27884521316bed2;hp=0000000000000000000000000000000000000000;hb=889cd0c134643a71dd8272cf2294276d054d6057;hpb=7b1921a415c4670f36c2e3bdccbe859284fb7eee diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bd47a3d --- /dev/null +++ b/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +pkg := memstore +pkg-tests := $(pkg)-tests +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) + +tests-files := tests.lisp +source-files := $(filter-out $(tests-files),$(wildcard *.lisp)) + + +build: build-arch build-indep + +build-arch: + +build-indep: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install $(pkg).asd $(source-files) $(clc-files) + dh_install $(pkg-tests).asd $(tests-files) $(clc-tests) + +binary-indep: install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_lisp + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep + + +.PHONY: build clean binary-indep binary-arch binary install