From 79239282c67a78ab5f207741c24230c00f32343b Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 28 Mar 2025 18:05:13 -0500 Subject: [PATCH 1/3] Makefile: install manpage to DESTDIR --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de7696d..3511802 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ $(TARGET): $(OBJS) install: install -d $(DESTDIR)$(BINDIR) install -m 0755 $(TARGET) $(DESTDIR)$(BINDIR) - install -m 0744 $(MANUAL) $(MANDIR)/man1/ + install -m 0744 $(MANUAL) $(DESTDIR)$(MANDIR)/man1/ clean: rm -f $(OBJS) $(TARGET) From 7e16011acc25f255ebad51097fd2204c01a78e5f Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 28 Mar 2025 18:09:17 -0500 Subject: [PATCH 2/3] Makefile: install manpage without execute permission --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3511802..848b43d 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ $(TARGET): $(OBJS) install: install -d $(DESTDIR)$(BINDIR) install -m 0755 $(TARGET) $(DESTDIR)$(BINDIR) - install -m 0744 $(MANUAL) $(DESTDIR)$(MANDIR)/man1/ + install -m 0644 $(MANUAL) $(DESTDIR)$(MANDIR)/man1/ clean: rm -f $(OBJS) $(TARGET) From 4ac0dc935de5bd00c3ddd55080f16f4a43577a05 Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 28 Mar 2025 18:14:25 -0500 Subject: [PATCH 3/3] Makefile: create manpage directory structure --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 848b43d..61e97db 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ $(TARGET): $(OBJS) install: install -d $(DESTDIR)$(BINDIR) install -m 0755 $(TARGET) $(DESTDIR)$(BINDIR) + install -d $(DESTDIR)$(MANDIR)/man1 install -m 0644 $(MANUAL) $(DESTDIR)$(MANDIR)/man1/ clean: