1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
TASKSELOPTS = -u
GENCONTROL_DEPENDS = true
include /usr/share/blends-dev/Makefile
# override target from /usr/share/blends-dev/Makefile
# this is a workaround for two missing features in blends-dev (we should probably file wishlist bugs)
# a.) depends on arch:any packages should refer binary version to allow binNMUs (see #910498)
# b.) remove empty trailing line in debian/control to avoid pedantic lintian warning
# c.) avoid informational lintian warning about duplicate Section field
# d.) drop unknown field XS-Comment to avoid lintian warning
dist:
rm -f $(BLEND)-tasks.desc debian/control
make -f debian/rules get-orig-source
sed -i 's#source:Version#binary:Version#' debian/control
perl -i -pe "chomp if eof" debian/control
sed -i '/Section: metapackages/d' debian/control
sed -i '/Source/a Section: metapackages' debian/control
sed -i '/XS-Comment/d' debian/control
|