#!/bin/sh
#
# Edit the assignments in the command below and then run
#     ./m4-control
# from debian/ in order to update ./control from ./control.prem4
# 
# N.B.: This is not run by debian/rules; it is a maintainer's aid;
#       it must be run by hand.
#
SPCA5XX_VER=20060501
KVER_MAJOR=2.6
KVER_MINOR_DEBIAN=16-1
m4 \
	-Dspca5xx_SOURCE_VER=$SPCA5XX_VER \
	-DKVER_MAJOR=$KVER_MAJOR \
	-DKVER_MINOR_DEBIAN=$KVER_MINOR_DEBIAN \
	control.prem4 > control

m4 \
	-Dspca5xx_SOURCE_VER=$SPCA5XX_VER \
	-DKVER_MAJOR=$KVER_MAJOR \
	-DKVER_MINOR_DEBIAN=$KVER_MINOR_DEBIAN \
	rules.prem4 > rules
