Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Meson installing cmake #92

Open
cromerc opened this issue Oct 29, 2017 · 2 comments
Open

Meson installing cmake #92

cromerc opened this issue Oct 29, 2017 · 2 comments

Comments

@cromerc
Copy link

cromerc commented Oct 29, 2017

I just noticed that the packages built with meson are installing CMakeLists.txt files into the package.
After install I have this:
/usr/share/doc/CMakeLists.txt
/usr/share/pamac/CMakeLists.txt

@cromerc
Copy link
Author

cromerc commented Oct 29, 2017

These are the 2 lines causing the problem:

meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),join_paths(get_option('prefix'),get_option('datadir'),'pamac-classic'),join_paths(meson.current_source_dir(),'data/local','','*'))

meson.add_install_script(join_paths(meson.current_source_dir(),'meson_scripts','install_data.sh'),join_paths(get_option('prefix'),get_option('datadir'),'doc'),join_paths(meson.current_source_dir(),'doc','','*'))

They are copying all files that are in those folders during install... the problem is that there are CMakeLists.txt files in those directories.

@rastersoft
Copy link
Owner

Mmm... that's because it copies the folder content "as is". I'm trying to use GLOBEXCLUDE, but seems to not work :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants