File: split-build-tools.patch

package info (click to toggle)
pasdoc 0.16.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,572 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 523; sh: 417
file content (26 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Fix FTBFS with make --shuffle=reverse
 Split build-tools into build-generators and build-tools to fix a circular dependency
 where building pascal_pre_proc requires .inc files, but the generators for those .inc
 files are built at the same time.
Author: Mazen Neifer <mazen@debian.org>
Forwarded: yes
Bug-Debian: https://bugs.debian.org/1105521
Last-Update: 2026-03-15

Index: pasdoc/Makefile
===================================================================
--- pasdoc.orig/Makefile
+++ pasdoc/Makefile
@@ -274,8 +274,11 @@ build-pascal_pre_proc: make-dirs
 	$(FPC_DEFAULT) $(FPC_DEBUG_FLAGS) ./source/tools/pascal_pre_proc.dpr
 
 .PHONY: build-tools
-build-tools: make-dirs
+build-tools: build-generators
 	$(FPC_DEFAULT) $(FPC_DEBUG_FLAGS) ./source/tools/pascal_pre_proc.dpr
+
+.PHONY: build-generators
+build-generators: make-dirs
 	$(FPC_DEFAULT) $(FPC_DEBUG_FLAGS) ./source/tools/file_to_pascal_data.dpr
 	$(FPC_DEFAULT) $(FPC_DEBUG_FLAGS) ./source/tools/file_to_pascal_string.dpr