summaryrefslogtreecommitdiff
path: root/test cases/common/12 data
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-02-04 22:00:06 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-02-04 22:00:06 +0200
commit73b8ff534115074125568b33ed2c67065c5e91b5 (patch)
treed5a2c024adbebbbe4028be8bc16c571498308d8d /test cases/common/12 data
parent1eaf6673b73be1393de61f0367d1fd352872b5cc (diff)
downloadmeson-73b8ff534115074125568b33ed2c67065c5e91b5.tar.gz
Rework installation logic so we can go outside the install prefix.
Diffstat (limited to 'test cases/common/12 data')
-rw-r--r--test cases/common/12 data/etcfile.dat1
-rw-r--r--test cases/common/12 data/installed_files.txt5
-rw-r--r--test cases/common/12 data/meson.build1
3 files changed, 5 insertions, 2 deletions
diff --git a/test cases/common/12 data/etcfile.dat b/test cases/common/12 data/etcfile.dat
new file mode 100644
index 000000000..93db8cb06
--- /dev/null
+++ b/test cases/common/12 data/etcfile.dat
@@ -0,0 +1 @@
+This goes into /etc/etcfile.dat
diff --git a/test cases/common/12 data/installed_files.txt b/test cases/common/12 data/installed_files.txt
index 8d7ff7073..1c58623f2 100644
--- a/test cases/common/12 data/installed_files.txt
+++ b/test cases/common/12 data/installed_files.txt
@@ -1,2 +1,3 @@
-share/progname/datafile.dat
-share/progname/vanishing.dat
+usr/share/progname/datafile.dat
+usr/share/progname/vanishing.dat
+etc/etcfile.dat
diff --git a/test cases/common/12 data/meson.build b/test cases/common/12 data/meson.build
index 850704624..5a04d6c42 100644
--- a/test cases/common/12 data/meson.build
+++ b/test cases/common/12 data/meson.build
@@ -1,3 +1,4 @@
project('data install test', 'c')
install_data('progname', sources : 'datafile.dat')
+install_data('dummy', sources : 'etcfile.dat', install_dir : '/etc')
subdir('vanishing')