| 1 |
kelmo-guest |
184 |
#!/usr/bin/make -f |
| 2 |
kelmo-guest |
209 |
|
| 3 |
kelmo-guest |
184 |
include /usr/share/cdbs/1/rules/debhelper.mk |
| 4 |
|
|
|
| 5 |
|
|
install/gspca-source:: |
| 6 |
|
|
# Enforce executable bit on debian/rules, and create |
| 7 |
|
|
# directory structure for modules source |
| 8 |
|
|
install -D -m 0755 debian/rules.modules \ |
| 9 |
|
|
debian/tmp/modules/gspca/debian/rules |
| 10 |
|
|
|
| 11 |
|
|
# Prepare the other debian stuff |
| 12 |
|
|
for f in *.modules.in control compat copyright changelog; do \ |
| 13 |
|
|
install -m 0644 debian/$$f \ |
| 14 |
|
|
debian/tmp/modules/gspca/debian/; \ |
| 15 |
|
|
done |
| 16 |
|
|
|
| 17 |
|
|
# Prepare upstream source |
| 18 |
|
|
find . -path ./debian/\* -type d -prune -o -printf "%P\n" | \ |
| 19 |
|
|
egrep -v 'debian|*.err' | \ |
| 20 |
|
|
cpio -admp debian/tmp/modules/gspca/ |
| 21 |
|
|
|
| 22 |
|
|
# Prepare the debian source tarball |
| 23 |
kelmo-guest |
186 |
tar jcf debian/gspca-source/usr/src/gspca-source.tar.bz2 \ |
| 24 |
kelmo-guest |
184 |
-C debian/tmp modules |