You are not logged in.

valen16

Unregistered

1

Thursday, May 20th 2004, 11:17am

making a source package for distribution

Hi,
how do I make from a qmake project a source .tar.gz package?
Means a package which installs automaticly my programm using
./configure
./make (or qmake?)
make install

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

2

Thursday, May 20th 2004, 2:17pm

RE: making a source package for distribution

make dist
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

valen16

Unregistered

3

Thursday, May 20th 2004, 3:16pm

and how do I add files which should be copied upon installation in ~/.programmname

wysota

Trainee

Posts: 65

Location: Warsaw, POLAND

  • Send private message

4

Thursday, May 20th 2004, 4:58pm

First of all, qmake itself won't generate you configure, it just makes makefiles. To use configure, use have to use autoconf and automake (kdevelop is very useful for preparing everything). And when you do, one of the targets made will be "dist", which will pack all the files needed into a tar.gzip archive, so you just need to add files you want included to your project (in kdevelop, I don't use automake standalone).
Live and let live - use the search engine.
"Use the docs Luke, use the docs!"

peschmae

Beginner

Posts: 1

Location: Bern

  • Send private message

5

Thursday, May 20th 2004, 4:58pm

this isn't done by the ./configure-make-makeinstall installation but by your program when it's started the first time (if this wasn't the case you could not add new users without an additional effort (because they lack the .progname directory and configurations) and you couldn't delete the dir either without getting problems (for resetting f***ed up configuration))

Peschmä
Debian Sid User

"Unix is user friendly, it's just very picky about who its friends are."