From 90358f3c8e34807433eca9ec6b218b7e6c2f4ffc Mon Sep 17 00:00:00 2001 From: Abou Al Montacir Date: Thu, 6 Feb 2025 20:02:48 +0100 Subject: [PATCH] Change fpmake to install missign package examples. Bug-Debian: https://bugs.debian.org/1016914 Origin: vendor Forwarded: no Reviewed-By: None Last-Update: 2022-11-19 Some packages do not install their examples. This patch allows to add code in their fpmake to install their examples. Gbp-Pq: Name change_fpmake_to_install_missing_package_examples.patch --- fpcsrc/packages/webidl/fpmake.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fpcsrc/packages/webidl/fpmake.pp b/fpcsrc/packages/webidl/fpmake.pp index 764caea9..913a45b1 100644 --- a/fpcsrc/packages/webidl/fpmake.pp +++ b/fpcsrc/packages/webidl/fpmake.pp @@ -48,6 +48,8 @@ begin AddUnit('webidlscanner'); AddUnit('webidlparser'); end; + P.ExamplePath.Add('examples'); + T:=P.Targets.AddExampleProgram('parsewebidl.pas'); {$ifndef ALLPACKAGES} Run; end; -- 2.30.2