deb-bootupd/debian/rules
robojerk a40ed904c5
Some checks failed
Build deb-bootupd Artifacts / build (push) Failing after 7m57s
Simple Build and Upload / build (push) Failing after 2m35s
Fix syntax error in debian/rules
- Remove extra indentation before override_dh_auto_build target
- Fixes 'No such file or directory' error during build
- Ensures proper Makefile syntax for Debian build system
2025-08-10 12:28:42 -07:00

27 lines
866 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@
# Enable systemd integration
override_dh_auto_configure:
dh_auto_configure
override_dh_auto_build:
rustup target add x86_64-unknown-linux-gnu
cargo build --release --target x86_64-unknown-linux-gnu
override_dh_auto_install:
mkdir -p debian/deb-bootupd/usr/libexec
install -D -m 755 target/x86_64-unknown-linux-gnu/release/bootupd debian/deb-bootupd/usr/libexec/
# Create symlink for multicall binary (following RPM pattern)
ln -sf ../libexec/bootupd debian/deb-bootupd/usr/bin/bootupctl
# Install documentation
install -D -m 644 README.md debian/deb-bootupd/usr/share/doc/deb-bootupd/
install -D -m 644 deb-bootupd.md debian/deb-bootupd/usr/share/doc/deb-bootupd/
install -D -m 644 VERSION.md debian/deb-bootupd/usr/share/doc/deb-bootupd/
# Clean up build artifacts
override_dh_auto_clean:
dh_auto_clean
rm -rf target/