Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move shairport-sync manual from section 7 to 1 #1795

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading