A web application does not have a make file, unlike C ++ or something similar. However, it must be placed in certain directories ... for example, / var / www.
I am new to linux packaging, so my question is: how do I package an application in a .deb file so that when I install it it gets into something like / etc / myprogram / bundles / myprogram -3.4? Mine, in particular, is a java application running on Tomcat Apache.
I managed to create a .deb file by carefully reading every word at http://www.debian.org/doc/manuals/maint-guide . However, when I follow the instructions, I get
1) the .deb file, which is 1.7kb instead of ~ 240mb, should be, because, apparently, it lacks all my source code. 2) got confused because I don't know if I should write some kind of makefile. I don’t even know where to find the answer to this question, and then I will have to deal with how to write a make file.
I sent a similar question to ubuntuforums, but I feel that I am more likely to get the answer here.
source share