Source: ddir
Version: 2025.0129-2
Severity: minor
Tags: patch

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic 
ordering of dependencies. See 
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also 
previous work in Debian by Santiago Vila: 
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with GNUMAKEFLAGS=--shuffle=reverse.

This patch fixes it.

diff -Nru ddir-2025.0129/debian/patches/fix-docdir-dep.patch 
ddir-2025.0129/debian/patches/fix-docdir-dep.patch
--- ddir-2025.0129/debian/patches/fix-docdir-dep.patch  1970-01-01 
00:00:00.000000000 +0000
+++ ddir-2025.0129/debian/patches/fix-docdir-dep.patch  2025-03-03 
18:40:05.000000000 +0000
@@ -0,0 +1,23 @@
+--- ddir-2025.0129.orig/Makefile
++++ ddir-2025.0129/Makefile
+@@ -144,17 +144,17 @@ docdir:
+       # target: docdir - create documentation output directory
+       $(INSTALL_DIR) $(docdir)
+ 
+-$(manpage): $(PL_SCRIPT)
++$(manpage): $(PL_SCRIPT) docdir
+       # target: bin/$(PACKAGE).1
+       $(PERL) $< --help-man > $@
+       @-rm -f *.x~~ pod*.tmp
+ 
+-doc/manual/$(PACKAGE).html: $(PL_SCRIPT)
++doc/manual/$(PACKAGE).html: $(PL_SCRIPT) docdir
+       # target: doc/manual/$(PACKAGE).html
+       $(PERL) $< --help-html > $@
+       @-rm -f *.x~~ pod*.tmp
+ 
+-doc/manual/$(PACKAGE).txt: $(PL_SCRIPT)
++doc/manual/$(PACKAGE).txt: $(PL_SCRIPT) docdir
+       # target: doc/manual/$(PACKAGE).txt
+       $(PERL) $< --help > $@
+       @-rm -f *.x~~ pod*.tmp
diff -Nru ddir-2025.0129/debian/patches/series 
ddir-2025.0129/debian/patches/series
--- ddir-2025.0129/debian/patches/series        1970-01-01 00:00:00.000000000 
+0000
+++ ddir-2025.0129/debian/patches/series        2025-03-03 18:40:05.000000000 
+0000
@@ -0,0 +1 @@
+fix-docdir-dep.patch

Reply via email to