How to compile a program written in C ++ into a deb package?

    1 answer 1

    make && make install

    ?

    This is if the source. If a package, then dpkg -i package