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

Various minor fixes #1851

Merged
merged 4 commits into from
May 15, 2024
Merged
Changes from 1 commit
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
Next Next commit
Make sure "all" is the default target. Try to not clobber existing ma…
…n page and html file if xmltoman/xsltproc fails/does not exist
  • Loading branch information
acli committed May 14, 2024
commit 56de841f4517c3c339e8428f2d1293437bfbb756
10 changes: 5 additions & 5 deletions man/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
shairport-sync.1: shairport-sync.1.xml
xmltoman shairport-sync.1.xml > shairport-sync.1
all: shairport-sync.1 shairport-sync.html

shairport-sync.html: shairport-sync.1.xml
xsltproc xmltoman.xsl shairport-sync.1.xml > shairport-sync.html
%.1: %.1.xml
xmltoman $*.1.xml > $*.tmp && mv $*.tmp $*.1

all: shairport-sync.1 shairport-sync.html
%.html: %.1.xml
xsltproc xmltoman.xsl $*.1.xml > $*.tmp && mv $*.tmp $*.html

clean:
rm shairport-sync.1