Re: [Vala] Automake configuration for library other than one from the tutorial?



Following is my recipe for a lib.
====================================
Enter a fresh new directory.

$ mkdir m4
$ touch README NEWS AUTHORS ChangeLog

Create following (attached) files:
 configure.ac
 Makefile.am
 libtest.vala
 mylibrary.pc.in
 mylibrary.deps

Save all in VCS of your choice.

$ autoreconf --install

Add COPYING and INSTALL to the VCS.
Tell the VCS to ignore all the other newly created files.

$ ./configure
$ make

With these commands you will be able to see what's going to be
installed with the usual "sudo make install"

$ DESTDIR=$(pwd)/dest make install
$ find dest


--Luca

Attachment: mylibrary.pc.in
Description: Binary data

Attachment: mylibrary.deps
Description: Binary data

Attachment: configure.ac
Description: Binary data

Attachment: libtest.vala
Description: Text Data

Attachment: Makefile.am
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]