#!/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
dh_testroot
dh_prep
dh_installdirs
- dh_install $(pkg).asd $(source-files) $(clc-files)
- dh_install $(pkg-tests).asd $(tests-files) $(clc-tests)
+ dh_install $(pkg).asd $(pkg)-tests.asd memcache.asd $(clc-systems)
+ dh_install src/*.lisp $(clc-source)/$(pkg)/src
+ dh_install memcache/*.lisp $(clc-source)/$(pkg)/memcache
binary-indep: install
dh_testdir