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 5, 2024
1 parent be068b7 commit f352391
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 f352391

Please sign in to comment.