Merge pull request #27 from ilovezfs/portable-install

Makefile: don't use non-portable -D option
This commit is contained in:
Mark Janssen 2018-06-17 17:31:22 +02:00 committed by GitHub
commit 1cb544cdd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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