mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
- Update to 0.15 - To avoid build dependency on hs-pandoc, add pre-rendered manual page (trurl.1) as the manual page is now in markdown format upstream.
28 lines
598 B
Text
28 lines
598 B
Text
--- Makefile.orig 2024-08-28 08:21:22 UTC
|
|
+++ Makefile
|
|
@@ -33,7 +33,7 @@ endif
|
|
ifndef NDEBUG
|
|
CFLAGS += -Werror -g
|
|
endif
|
|
-MANUAL = trurl.1
|
|
+MANUAL = trurl.md
|
|
|
|
PREFIX ?= /usr/local
|
|
BINDIR ?= $(PREFIX)/bin
|
|
@@ -47,10 +47,14 @@ trurl.o: trurl.c version.h
|
|
|
|
trurl.o: trurl.c version.h
|
|
|
|
-.PHONY: install
|
|
-install:
|
|
+.PHONY: install install-bin install-man
|
|
+install: install-bin install-man
|
|
+
|
|
+install-bin:
|
|
$(INSTALL) -d $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -m 0755 $(TARGET) $(DESTDIR)$(BINDIR)
|
|
+
|
|
+install-man:
|
|
$(INSTALL) -d $(DESTDIR)$(MANDIR)
|
|
$(INSTALL) -m 0644 $(MANUAL) $(DESTDIR)$(MANDIR)
|
|
|