30 lines
676 B
Makefile
Executable File
30 lines
676 B
Makefile
Executable File
#!/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"
|