+DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp extract-stamp install-stamp
+
+ # Remove (possibly stale) pre-built Qt-generated moc files; they will
+ # be rebuilt using the current Qt moc. Perhaps this should actually be
+ # part of 'make distclean' and these files not be distributed:
+ rm -f ./gr-qtgui/src/lib/*_moc.cc
+
+ if [ -f Makefile ]; \
+ then\
+ if [ -d .svn ]; \
+ then \
+ $(MAKE) maintainer-clean; \
+ else \
+ $(MAKE) distclean; \
+ fi; \
+ fi
+
+ dh_clean
+
+update:
+ dh_testdir
+ -test -r /usr/share/misc/config.sub && \
+ cp -f /usr/share/misc/config.sub config.sub
+ -test -r /usr/share/misc/config.guess && \
+ cp -f /usr/share/misc/config.guess config.guess