This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/debian/rules

30 lines
676 B
Plaintext
Raw Normal View History

2019-03-17 11:56:48 +00:00
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_clean:
# Need to run configure here, to get make clean to work
./configure --prefix=/opt/mbse
make clean
rm -f script/installinit.log
override_dh_auto_configure:
# Need to set --prefix for final install
MBSE_ROOT=/opt/mbse ./configure --prefix=/opt/mbse
override_dh_autoreconf:
# Need to stop autoconf from running - it errors?
# And deletes configure
echo "NOOP"
override_dh_auto_build:
# Need to set MBSE_ROOT for build
MBSE_ROOT=/opt/mbse make -j4
override_dh_auto_install:
# Need to install in DESTDIR
DESTDIR=$$(pwd)/debian/mbse/ MBSE_ROOT=/opt/mbse make -j4 install
override_dh_fixperms:
echo "NOOP"