My end goal is to produce a simple .deb package.
For that I’ve read it’s better to provide 3 build phases in my build infrastructure of the project, rather than do it in the debian/ folder.
So first thing I need is a configure script, however I want the simplest configure script ever that just receives a “–prefix” argument and passes its value to the Makefile system (so the “install” target of the makefile can copy the files over to it).
Can I do this without using autoconf? I know autoconf is great but for the simplest configuration-phase ever I may not need it yet so badly.
Thanks
I ended up using this:
Then in the Makefile the first thing I need to do is:
I would be interested if there are better solutions than this.