From 474aa902ea8e5397073706f644e9349429a28131 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 14 May 2018 04:20:18 -0700 Subject: [PATCH] Makefile: don't use non-portable -D option --- Makefile | 3 ++- docs/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 64a8355..57328e8 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,8 @@ clean: $(MAKE) -C docs clean install: - install -Dp -m0755 $(name) $(DESTDIR)$(bindir)/$(name) + install -d $(DESTDIR)$(bindir) + install -p -m555 $(name) $(DESTDIR)$(bindir) $(MAKE) -C docs install .c.o: diff --git a/docs/Makefile b/docs/Makefile index e0439b5..f313c38 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -8,7 +8,8 @@ htmltargets = $(patsubst %.adoc, %.html, $(adoctargets)) docs: proxytunnel.1 $(htmltargets) install: proxytunnel.1 - install -Dp -m0644 proxytunnel.1 $(DESTDIR)$(mandir)/man1/proxytunnel.1 + install -d $(DESTDIR)$(mandir)/man1 + install -p proxytunnel.1 $(DESTDIR)$(mandir)/man1 clean: rm -f proxytunnel.1 *.html *.xml