Skip to content

Commit

Permalink
Merge pull request #1795 from klemensn/manual-section
Browse files Browse the repository at this point in the history
Move shairport-sync manual from section 7 to 1
  • Loading branch information
mikebrady authored Jan 29, 2024
2 parents e6f7a45 + 8ae635e commit f37d1b8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARFLAGS = cr

man_MANS = $(top_srcdir)/man/shairport-sync.7
man_MANS = $(top_srcdir)/man/shairport-sync.1

lib_pair_ap_a_CFLAGS = -Wall -g -DCONFIG_GCRYPT -pthread
lib_tinyhttp_a_CFLAGS = -pthread
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ RUN apk -U add \

# Copy build files.
COPY --from=builder /shairport-sync/build/install/usr/local/bin/shairport-sync /usr/local/bin/shairport-sync
COPY --from=builder /shairport-sync/build/install/usr/local/share/man/man7 /usr/share/man/man7
COPY --from=builder /shairport-sync/build/install/usr/local/share/man/man1 /usr/share/man/man1
COPY --from=builder /nqptp/nqptp /usr/local/bin/nqptp
COPY --from=builder /usr/local/lib/libalac.* /usr/local/lib/
COPY --from=builder /shairport-sync/build/install/etc/shairport-sync.conf /etc/
Expand Down
2 changes: 1 addition & 1 deletion docker/classic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN apk -U add \

# Copy build files.
COPY --from=builder /shairport-sync/build/install/usr/local/bin/shairport-sync /usr/local/bin/shairport-sync
COPY --from=builder /shairport-sync/build/install/usr/local/share/man/man7 /usr/share/man/man7
COPY --from=builder /shairport-sync/build/install/usr/local/share/man/man1 /usr/share/man/man1
COPY --from=builder /usr/local/lib/libalac.* /usr/local/lib/
COPY --from=builder /shairport-sync/build/install/etc/shairport-sync.conf /etc/
COPY --from=builder /shairport-sync/build/install/etc/shairport-sync.conf.sample /etc/
Expand Down
12 changes: 6 additions & 6 deletions man/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
shairport-sync.7: shairport-sync.7.xml
xmltoman shairport-sync.7.xml > shairport-sync.7
shairport-sync.1: shairport-sync.1.xml
xmltoman shairport-sync.1.xml > shairport-sync.1

shairport-sync.html: shairport-sync.7.xml
xsltproc xmltoman.xsl shairport-sync.7.xml > shairport-sync.html
shairport-sync.html: shairport-sync.1.xml
xsltproc xmltoman.xsl shairport-sync.1.xml > shairport-sync.html

all: shairport-sync.7 shairport-sync.html
all: shairport-sync.1 shairport-sync.html

clean:
rm shairport-sync.7
rm shairport-sync.1
rm shairport-sync.html
2 changes: 1 addition & 1 deletion man/shairport-sync.7 → man/shairport-sync.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH shairport-sync 7 User Manuals
.TH shairport-sync 1 User Manuals
.SH NAME
shairport-sync \- AirPlay and AirPlay 2 Audio Player
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion man/shairport-sync.7.xml → man/shairport-sync.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
OTHER DEALINGS IN THE SOFTWARE.
-->

<manpage name="shairport-sync" section="7" desc="AirPlay and AirPlay 2 Audio Player">
<manpage name="shairport-sync" section="1" desc="AirPlay and AirPlay 2 Audio Player">

<synopsis>
<!--
Expand Down
2 changes: 1 addition & 1 deletion shairport-sync.spec
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ getent passwd %{name} &> /dev/null || useradd --system -c "%{name} User" \
%files
%config(noreplace) /etc/shairport-sync.conf
/usr/bin/shairport-sync
/usr/share/man/man7/shairport-sync.7.gz
/usr/share/man/man1/shairport-sync.1.gz
%{_unitdir}/%{name}.service
%doc README.md RELEASENOTES.md TROUBLESHOOTING.md
%license LICENSES
Expand Down

0 comments on commit f37d1b8

Please sign in to comment.