1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#!/usr/bin/make -f
# Current version of cmake (3.30.4) is including some ANSI escapes in the
# output which causes the tests to fail.
export CLICOLOR = 0
%:
dh $@ --with elpa
override_dh_auto_build:
override_dh_auto_install:
# Skip build and install actions.
override_dh_auto_clean:
# Replace "eask clean elc".
$(RM) *.elc
# Cleanup cmake generated files.
$(RM) core-test/CMakeCache.txt
$(RM) core-test/Makefile core-test/*/Makefile
$(RM) core-test/CTestTestfile.cmake core-test/*/CTestTestfile.cmake
$(RM) core-test/cmake_install.cmake core-test/*/cmake_install.cmake
$(RM) -r core-test/Testing
$(RM) -r core-test/CMakeFiles core-test/*/CMakeFiles
execute_before_dh_auto_test:
# Replace "eask compile".
emacs -Q -batch -L . -f batch-byte-compile *.el
|