fix: Add clean target to debian/rules to ensure fresh builds

- Add override_dh_clean to remove build directory before each build
- Prevents stale CMakeCache.txt from causing ngl_codegen errors
- Ensures RELEASE_BUILD=ON is properly applied on each build

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
torstenandCopilot committed 2026-10-09 16:15:48 +00:00
1 parent bc2b1a247e
commit 23e3f8d2d8
1 file changed
+4
+4
View File
@@ -257,6 +257,10 @@ def create_debian_rules(deb_dir, cmake_flags=""):
%:
dh $@ --buildsystem=cmake --builddirectory=build
override_dh_clean:
dh_clean
rm -rf build
override_dh_auto_configure:
dh_auto_configure -- {cmake_opts}