1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#!/usr/bin/make -f
DRIVERS_LIST_RECOMMENDS := $(shell set -e; \
while read line; \
do \
if echo $${line} | egrep -v -s '^\#' > /dev/null ; \
then \
echo -n printer-driver-; \
echo -n $${line}; \
echo ","; \
fi; \
done < debian/printer-driver-recommends.list; \
)
DRIVERS_LIST_SUGGESTS := $(shell set -e; \
while read line; \
do \
if echo $${line} | egrep -v -s '^\#' > /dev/null ; \
then \
echo -n printer-driver-; \
echo -n $${line}; \
echo ","; \
fi; \
done < debian/printer-driver-suggests.list; \
)
%:
dh $@
override_dh_gencontrol:
dh_gencontrol -- -Vdriver-list-recommends="$(DRIVERS_LIST_RECOMMENDS)" -Vdriver-list-suggests="$(DRIVERS_LIST_SUGGESTS)"
|