parent
5e648a9fb9
commit
6759e404d9
8 changed files with 57 additions and 3 deletions
@ -0,0 +1,2 @@ |
||||
bin/prog |
||||
diiba/daaba/file.dat |
@ -0,0 +1,4 @@ |
||||
project('custom install script', 'c') |
||||
|
||||
meson.set_install_script('myinstall.sh') |
||||
executable('prog', 'prog.c', install : true) |
@ -0,0 +1,5 @@ |
||||
#!/bin/sh |
||||
|
||||
mkdir "${DESTDIR}/${MESON_INSTALL_PREFIX}/diiba" |
||||
mkdir "${DESTDIR}/${MESON_INSTALL_PREFIX}/diiba/daaba" |
||||
touch "${DESTDIR}/${MESON_INSTALL_PREFIX}/diiba/daaba/file.dat" |
@ -0,0 +1,6 @@ |
||||
#include<stdio.h> |
||||
|
||||
int main(int argc, char **argv) { |
||||
printf("This is text.\n"); |
||||
return 0; |
||||
} |
Loading…
Reference in new issue