Skip to content

Commit 9a5f44e

Browse files
committed
Include the directory include in stdlib-fpm
1 parent bb64d4e commit 9a5f44e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/fypp_deployment.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def deploy_stdlib_fpm(with_ilp64):
8989
else:
9090
base_folder = 'stdlib-fpm'
9191

92+
if not os.path.exists(base_folder+os.sep+'include'):
93+
os.makedirs(base_folder+os.sep+'include')
9294
if not os.path.exists(base_folder+os.sep+'src'):
9395
os.makedirs(base_folder+os.sep+'src')
9496
if not os.path.exists(base_folder+os.sep+'test'):
@@ -102,6 +104,7 @@ def recursive_copy(folder):
102104
if file not in prune:
103105
if file.endswith((".f90", ".F90", ".dat", ".npy", ".c", ".h")):
104106
shutil.copy2(os.path.join(root, file), base_folder+os.sep+folder+os.sep+file)
107+
recursive_copy('include')
105108
recursive_copy('src')
106109
recursive_copy('test')
107110
recursive_copy('example')

0 commit comments

Comments
 (0)