我想在不使用诸如 autotools 或 CMake 之类的构建工具的情况下从 C 程序创建一个 Debian 包。我的debian/rules
文件:
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_clean:
rm -f program
override_dh_auto_build:
gcc program.c -o program
override_dh_auto_install:
cp program /usr/local/bin
运行后dpkg-buildpackage
,我得到:
dh: error: Unknown sequence application (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)