I'm able to create a deb package. Now, I want to write a Debian rule to copy the file to its target.
For example, a script should be copied to /etc/init.d be executed after installation.
Note: I followed this blog to build debian package https://abz89.wordpress.com/2008/03/24/building-debian-deb-package-from-tarball-source-targz/
rulebe located after building the source? – muru Sep 17 '15 at 13:53/etc/init.d? What insane program are you building? – muru Sep 17 '15 at 16:53some/where, and yourdebiandirectory issome/where/debian,ruleis insome/where/rule? – muru Sep 17 '15 at 17:13ruleis indebian/, theninstallshould havedebian/rule etc/init.d– muru Sep 17 '15 at 17:22debian/installordebian/<package>.install– muru Sep 17 '15 at 17:25mypackagename.installlocated, now? And what are you using indebian/rules? – muru Sep 17 '15 at 17:35