#!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 CFLAGS+=$(CPPFLAGS) CXXFLAGS+=$(CPPFLAGS) export QT_SELECT=qt6 export QT_VERSION=6.11.2 DESTDIR=$(CURDIR)/debian/fritzing %: dh $@ # Add here any variable or target overrides you need. override_dh_auto_configure: $$(uname -m)-linux-gnu-qmake6 -makefile cp Makefile.Release Makefile override_dh_auto_clean: dh_auto_clean rm -f config.tests/boost/*.o config.tests/boost/boost \ config.tests/boost/Makefile .qmake.cache config.log \ .qmake* Makefile* override_dh_install-arch: dh_install -a # install a custom shell script to launch fritzing # to close bug #847655 mv $(DESTDIR)/usr/bin/Fritzing $(DESTDIR)/usr/bin/fritzing.real install -m 755 debian/Fritzing $(DESTDIR)/usr/bin/fritzing sed -i -e 's/Exec=Fritzing/Exec=fritzing/' \ $(DESTDIR)/usr/share/applications/org.fritzing.Fritzing.desktop get-packaged-orig-source: uscan --download-current-version