1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
#!/usr/bin/make -f
include ../common.mk
clean: clean-common
check:
grep -q python2.6 debian/foo/usr/share/foo/foo.py
ifneq (,$(findstring 2.6,$(DEBPYTHON_SUPPORTED)))
grep -q Depends:.*python2.6 debian/foo/DEBIAN/control
endif
#grep -q python2.5 debian/foo/usr/share/bar/bar.py
#grep -q Depends:.*python2.5 debian/foo/DEBIAN/control
grep -q python2.4 debian/foo/usr/share/foo/baz.py
test ! -x debian/foo/usr/share/foo/baz.py
grep -q Depends:.*python2.4 debian/foo/DEBIAN/control && false || true
|