3 CDBS
= /usr
/share
/cdbs
/1
5 include $(CDBS
)/class
/autotools.mk
6 include $(CDBS
)/rules
/debhelper.mk
8 ###--------------------------------------------------------------------------
11 DEB_BUILDDIR
= $(CURDIR
)/build
13 ###--------------------------------------------------------------------------
14 ### Correct configuration.
16 DEB_CONFIGURE_EXTRA_FLAGS
= \
17 --with-perlmoddir
=/usr
/share
/perl5
19 ###--------------------------------------------------------------------------
22 ### Rather than have lots (and /lots/) of little *.install files, we just
23 ### have one big list of everything and split it out as we go.
25 clean::; rm -f debian
/*.
install
27 $(addprefix install/, $(DEB_ALL_PACKAGES
)):: install/%: debian
/%.
install
29 debian
/%.
install: debian
/inst
30 while read file pkg
dir; do \
31 if
[ "$$pkg" = "$*" ]; then \
32 echo
"debian/tmp$$dir/$$file"; \
34 done
<debian
/inst
>$@.new
&& mv
$@.new
$@
36 ###----- That's all, folks --------------------------------------------------