-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfixes.patch
More file actions
39 lines (37 loc) · 1.5 KB
/
fixes.patch
File metadata and controls
39 lines (37 loc) · 1.5 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
diff -urN a/po4a/Makefile b/po4a/Makefile
--- a/po4a/Makefile 2025-08-19 20:13:41.877475281 +0200
+++ b/po4a/Makefile 2025-08-19 20:14:47.305089700 +0200
@@ -36,7 +36,7 @@
%.1:: %.dbk translate
mkdir -p $(LANGS)
xsltproc --nonet -o $@ \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+ /usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl $<
%.5:: %.pl translate
-podchecker $<
pod2man --utf8 --center=" " --release="$(DESC_$(dir $@))" $< > $@
@@ -46,4 +46,4 @@
%.5:: %.dbk translate
mkdir -p $(LANGS)
xsltproc --nonet -o $@ \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+ /usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl $<
diff -urN a/scripts/Makefile b/scripts/Makefile
--- a/scripts/Makefile 2025-08-19 20:13:41.882583686 +0200
+++ b/scripts/Makefile 2025-08-19 20:14:04.065598433 +0200
@@ -99,7 +99,7 @@
pod2man --utf8 --center=" " --release="Debian Utilities" --section=5 $< > $@
%.1: %.dbk
xsltproc --nonet -o $@ \
- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
+ /usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl $<
# Syntax checker
test_sh: $(SH_CHECKS)
@@ -174,7 +174,7 @@
test: test_pl test_sh test_py
install: all
- python3 setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
+ python3 setup.py install --root="$(DESTDIR)" --no-compile
cp $(SCRIPTS) $(DESTDIR)$(BINDIR)
ln -sf edit-patch $(DESTDIR)$(BINDIR)/add-patch
install -d $(DESTDIR)$(COMPL_DIR)