Makefile: don't use non-portable -D option

This commit is contained in:
ilovezfs 2018-05-14 04:20:18 -07:00
parent 5cc9abeba2
commit 474aa902ea
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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