ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
30 lines
1010 B
Python
Executable File
30 lines
1010 B
Python
Executable File
#! /usr/bin/env python3
|
|
# Copyright (C) 2024 fontconfig Authors
|
|
# SPDX-License-Identifier: HPND
|
|
|
|
import os
|
|
import shutil
|
|
from pathlib import Path
|
|
|
|
sourcedir = os.environ.get('MESON_SOURCE_ROOT')
|
|
builddir = os.environ.get('MESON_BUILD_ROOT')
|
|
distdir = os.environ.get('MESON_DIST_ROOT')
|
|
|
|
# Copy manpages
|
|
docdir = Path(distdir) / 'doc'
|
|
for f in (Path(builddir) / 'doc').glob('*.[135]'):
|
|
print(f'Copying {f.name}')
|
|
shutil.copy2(f, docdir)
|
|
|
|
# Copy config file
|
|
confdir = Path(distdir) / 'conf.d'
|
|
shutil.copy2(Path(builddir) / 'conf.d' / '35-lang-normalize.conf', confdir)
|
|
|
|
# Documentation
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-devel.html', docdir)
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-devel.pdf', docdir)
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-devel.txt', docdir)
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-user.html', docdir)
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-user.pdf', docdir)
|
|
shutil.copy2(Path(builddir) / 'doc' / 'fontconfig-user.txt', docdir)
|