Merge pull request #731 from QuLogic/obey-DESTDIR
Always obey DESTDIR even with absolute install_dirpull/732/head
commit
8e904aaba0
4 changed files with 27 additions and 16 deletions
@ -1,4 +1,10 @@ |
|||||||
usr/dib/dab/dub/prog?exe |
usr/dib/dab/dub/prog?exe |
||||||
|
usr/dib/dab/dub2/prog2?exe |
||||||
usr/some/dir/sample.h |
usr/some/dir/sample.h |
||||||
|
usr/some/dir2/sample.h |
||||||
usr/woman/prog.1.gz |
usr/woman/prog.1.gz |
||||||
|
usr/woman2/prog.1.gz |
||||||
usr/meow/datafile.cat |
usr/meow/datafile.cat |
||||||
|
usr/meow2/datafile.cat |
||||||
|
usr/woof/subdir/datafile.dog |
||||||
|
usr/woof2/subdir/datafile.dog |
||||||
|
@ -1,5 +1,11 @@ |
|||||||
project('custom install dirs', 'c') |
project('custom install dirs', 'c') |
||||||
executable('prog', 'prog.c', install : true, install_dir : 'dib/dab/dub') |
executable('prog', 'prog.c', install : true, install_dir : 'dib/dab/dub') |
||||||
|
executable('prog2', 'prog.c', install : true, install_dir : get_option('prefix') + '/dib/dab/dub2') |
||||||
install_headers('sample.h', install_dir : 'some/dir') |
install_headers('sample.h', install_dir : 'some/dir') |
||||||
|
install_headers('sample.h', install_dir : get_option('prefix') + '/some/dir2') |
||||||
install_man('prog.1', install_dir : 'woman') |
install_man('prog.1', install_dir : 'woman') |
||||||
|
install_man('prog.1', install_dir : get_option('prefix') + '/woman2') |
||||||
install_data('datafile.cat', install_dir : 'meow') |
install_data('datafile.cat', install_dir : 'meow') |
||||||
|
install_data('datafile.cat', install_dir : get_option('prefix') + '/meow2') |
||||||
|
install_subdir('subdir', install_dir : 'woof') |
||||||
|
install_subdir('subdir', install_dir : get_option('prefix') + '/woof2') |
||||||
|
@ -0,0 +1 @@ |
|||||||
|
Installed dog is installed. |
Loading…
Reference in new issue