File: 001_fix-acr-install-man.patch

package info (click to toggle)
acr 2.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 608 kB
  • sloc: sh: 4,686; makefile: 41
file content (79 lines) | stat: -rw-r--r-- 4,498 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From: Debian QA Group <packages@qa.debian.org>
Date: Fri, 9 Aug 2024 17:49:33 +0000
Subject: enable installation of arc-install manpage, fix command name

in manmpage and fix typos in manpage.
Author: Thiago Marques Siqueira <thiagoms.15@gmail.com>
Forwarded: not-needed
Last-Update: 2023-08-13
---
 Makefile.acr             | 2 +-
 man/man1/acr-wrap.1      | 2 +-
 man/man1/install-acr.1   | 8 ++++----
 man/man5/configure.acr.5 | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile.acr b/Makefile.acr
index 814bd08..e679366 100644
--- a/Makefile.acr
+++ b/Makefile.acr
@@ -36,7 +36,7 @@ install:
 	${INSTALL_MAN} "$(VPATH)/man/man1/acr-wrap.1" "$(MANDIR)/man1/"
 	${INSTALL_MAN} "$(VPATH)/man/man1/amr.1" "$(MANDIR)/man1/"
 	${INSTALL_MAN} "$(VPATH)/man/man1/acr-cat.1" "$(MANDIR)/man1/"
-	#${INSTALL_MAN} "${VPATH}/man/man1/install-acr.1 $(MANDIR)/man1/"
+	${INSTALL_MAN} -T "${VPATH}/man/man1/install-acr.1" "$(MANDIR)/man1/acr-install.1"
 	${INSTALL_MAN} "$(VPATH)/man/man5/configure.acr.5" "$(MANDIR)/man5/"
 	${INSTALL_MAN} "$(VPATH)/man/man5/configure.amr.5" "$(MANDIR)/man5/"
 	mkdir -p "$(DATADIR)/doc/acr/examples"
diff --git a/man/man1/acr-wrap.1 b/man/man1/acr-wrap.1
index f0f4290..66ff55f 100644
--- a/man/man1/acr-wrap.1
+++ b/man/man1/acr-wrap.1
@@ -11,7 +11,7 @@
 acr-wrap is script that generates a makefile from a meson wrap file.
 .Pp
 This way it is possible to use meson subprojects without depending on
-meson to work. Reducing maintainance costs when multiple build systems
+meson to work. Reducing maintenance costs when multiple build systems
 are in use, but also enabling make-based projects to use a cleaner
 syntax for external source projects.
 .Sh SEE ALSO
diff --git a/man/man1/install-acr.1 b/man/man1/install-acr.1
index 4e90281..328f768 100644
--- a/man/man1/install-acr.1
+++ b/man/man1/install-acr.1
@@ -1,16 +1,16 @@
 .Dd Aug 12, 2022
-.Dt INSTALL-ACR 1
+.Dt ACR-INSTALL 1
 .Os
 .Sh NAME
-.Nm install-acr
+.Nm acr-install
 .Nd acr wrapper for install program
 .Sh SYNOPSIS
-.Nm install-acr
+.Nm acr-install
 .Op Fl program|script|library|data
 .Op Ar -P plist-file
 .Op Ar source target
 .Sh DESCRIPTION
-install-acr is an '/usr/bin/install' program wrapper. The main purpouse of it is to bring to the end user some interesting features to install programs, by this way you can create realtime PLISTs of the installed files and directories, and set default permissions by a simple word like '-program'.
+acr-install is an '/usr/bin/install' program wrapper. The main purpose of it is to bring to the end user some interesting features to install programs, by this way you can create realtime PLISTs of the installed files and directories, and set default permissions by a simple word like '-program'.
 .Bl -tag -width indent
 .It Fl -program
 sets the proper flags to set permissions to install programs.
diff --git a/man/man5/configure.acr.5 b/man/man5/configure.acr.5
index ac031f0..aef7e27 100644
--- a/man/man5/configure.acr.5
+++ b/man/man5/configure.acr.5
@@ -301,7 +301,7 @@ Generates the selected files like OUTPUT_H does but using a shellscript syntax.
 Replaces all @ENVWORDS@ with the exported variable proper value. Before doing the changes ACR copies the original file to file.orig. Remember to mv file.orig file on make clean target. This option is not recommended to use, because the problem you may experience by using acr+vcs systems. I recommend you to use SUBDIRS instead. (acr>=0.4)
 .It SUBDIRS dir1 dir2 file1 file2\ ;
 Finds Makefile.acr files in requested directories to generate the proper Makefile.
-acr>=0.4 allows to use SUBDIRS against files or directories, without difference. It's backward compatible. If the target name is a directory then acr will look for 'Makefile.acr', if not, it will get the filename.acr and will generate a new file keeping the name, but chopping the end '.acr'.
+acr>=0.4 allows one to use SUBDIRS against files or directories, without difference. It's backward compatible. If the target name is a directory then acr will look for 'Makefile.acr', if not, it will get the filename.acr and will generate a new file keeping the name, but chopping the end '.acr'.
 You can also use the '%' keyword to match all Makefile.acr files under the current directory. This could be useful in case of changes on the directory structure of your project.
 .It SUBCONF dir1 dir2\ ;
 Calls recursively other ./configure scripts found in dir1, dir2 passing the root ./configure flag arguments.