[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help With debian/rules File Without Build Tool



I want to create a Debian package from a C program without the use of a build tool such as autotools or CMake. My debian/rules file:

#!/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

Upon running dpkg-buildpackage, I get: dh: error: Unknown sequence application (choose from: binary binary-arch binary-indep build build-arch build-indep clean install install-arch install-indep)


Reply to: