Skip to content

Commit

Permalink
Makefile: check for trurl.1 before installing
Browse files Browse the repository at this point in the history
Simply skips the operation if there is no .1 file around. The manpage
version is shipped in tarballs but is not present in git.
  • Loading branch information
bagder committed Sep 2, 2024
1 parent c452d82 commit da8fbab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ install:
$(INSTALL) -d $(DESTDIR)$(BINDIR)
$(INSTALL) -m 0755 $(TARGET) $(DESTDIR)$(BINDIR)
$(INSTALL) -d $(DESTDIR)$(MANDIR)
$(INSTALL) -m 0644 $(MANUAL) $(DESTDIR)$(MANDIR)
(if test -f $(MANUAL); then \
$(INSTALL) -m 0644 $(MANUAL) $(DESTDIR)$(MANDIR); \
fi)

.PHONY: clean
clean:
Expand Down

0 comments on commit da8fbab

Please sign in to comment.