projects
/
fpc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6cf15
)
Change fpmake to install missign package examples.
author
Abou Al Montacir
<abou.almontacir@sfr.fr>
Thu, 30 Mar 2023 19:31:30 +0000
(20:31 +0100)
committer
Abou Al Montacir
<abou.almontacir@sfr.fr>
Thu, 30 Mar 2023 19:31:30 +0000
(20:31 +0100)
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
patch
|
blob
|
history
diff --git
a/fpcsrc/packages/webidl/fpmake.pp
b/fpcsrc/packages/webidl/fpmake.pp
index 764caea90d21e5e8cd7261560e691e5ef8aa678a..913a45b1c70e95eb4c245b0e4836cb087f353b8f 100644
(file)
--- 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;