Files
RedBear-OS/recipes/dev/fontconfig/source/build-aux/meson-dist-docs.py
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
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.
2026-05-14 10:55:53 +01:00

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)