I have written a simple program, and I made a
.deb file to install it on Debian based OSs. but for other distros like Arch, I usually use a
.tar.gz file (and doing :
make install), How to make that .tar.gz file for my program ??
I can write a bash script (for example like
configure) to copy my files to
/usr/share/doc. so I can install my application simply by executing that script(
but how do other
.tar.gz files(applications) need to run
make install to install ???
To generate the application distribution archive, developer uses some tools called GNU Autotools. This tools help you create the
Makefile which generates the distribution archive for you.
After making the correct setup, you should be able to generate the archive using:
tar.gzthen distribution specific packages like