I am not sure I understand how your setup looks like, but when using autotools (like you seem to do) files are created from autotools template files like configure.in
and Makefile.am
.
The different steps then produce a number of files in the build directory you could check for.
./configure
creates e.g. Makefile
and config.status
make
creates e.g files below .deps
and .libs
make install
doesn't leave any traces in the build directory, but copies files to their install locations.
To check if make install
was run you could supplement the default install rules, e.g. add to your Makefile.am
install-data-local:
@touch .installed
and then check for .installed
.
Since when using autotools there won't be no Makefile
before running ./configure
you would have to handle this case differently.
Are you using plain make or autotools? – Benjamin Bannier – 2011-07-20T15:14:38.410
I'm executing
./configure
,make
andcheckinstall
. Butcheckinstall
is essentiallymake install
. – Dor – 2011-07-20T15:30:39.453