[CMake] Re: Howto create an empty directory during 'make install'?
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Sat Nov 25 14:41:07 EST 2006
"Alan W. Irwin"
<irwin at beluga.phys.uvic.ca> writes:
>>>> how can I create an empty directory during 'make install'?
> ...
> Instead, I suggest you temporarily forget about DESTDIR functionality
> and instead concentrate on the simpler problem of configuring cmake so
> that the ordinary "make install" works properly
ok, I have now
| INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/lib/foo)")
and 'make install' works perfectly.
But 'make install DESTDIR=/var/tmp/foo-root' still fails with
| mkdir: cannot create directory `/var/lib/foo': Permission denied
Ditto for the symlink case.
Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20061125/2050133a/attachment.pgp
More information about the CMake
mailing list