#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_build: dh_auto_build dh_auto_build --sourcedirectory=arcade make -C arcade dh_auto_build --sourcedirectory=launcher make -C launcher override_dh_auto_configure: ifneq ($(filter $(DEB_BUILD_ARCH), amd64 i386 kfreebsd-amd64 kfreebsd-i386 x32),) dh_auto_configure -- --enable-jit else dh_auto_configure -- --disable-jit endif override_dh_auto_install: make install prefix=$$(pwd)/debian/fs-uae/usr make -C arcade install prefix=$$(pwd)/debian/fs-uae-arcade/usr cd arcade && python3 setup.py install --no-compile --install-layout=deb --root=../debian/fs-uae-arcade --install-lib=/usr/share/fs-uae-arcade --install-scripts=/usr/share/fs-uae-arcade make -C launcher install prefix=$$(pwd)/debian/fs-uae-launcher/usr cd launcher && python3 setup.py install --no-compile --install-layout=deb --root=../debian/fs-uae-launcher --install-lib=/usr/share/fs-uae-launcher --install-scripts=/usr/share/fs-uae-launcher %: dh $@ --with autoreconf,python3