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



Thank you!

M.
8 gru 2015 4:40 PM "Luca Dionisi" <luca dionisi gmail com> napisaƂ(a):

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



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