cgmnlm

colorful gemini line mode browser
git clone https://git.clttr.info/cgmnlm.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 4a6172f1bf9cb41eb1ce3a5f720f9ebe4febc62b
parent 1a747cb6c2765ee818506c886bad4ed36b2b9d51
Author: Giuseppe Lumia <g.lumia@outlook.com>
Date:   Wed,  4 Nov 2020 09:08:45 +0100

Remove -D option from install commands

The '-D' option of `install` is not implemented on some systems that
don't use GNU install. Its uses were replaced with `mkdir -p` commands
to eventually provide the missing folders.

Diffstat:
MMakefile | 17++++++++++-------
Mconfig.sh | 4++--
2 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -56,13 +56,16 @@ distclean: clean install: all install_docs mkdir -p $(BINDIR) - install -Dm755 gmni $(BINDIR)/gmni - install -Dm755 gmnlm $(BINDIR)/gmnlm - install -Dm755 libgmni.a $(LIBDIR)/libgmni.a - install -Dm644 include/gmni/gmni.h $(INCLUDEDIR)/gmni/gmni.h - install -Dm644 include/gmni/tofu.h $(INCLUDEDIR)/gmni/tofu.h - install -Dm644 include/gmni/url.h $(INCLUDEDIR)/gmni/url.h - install -Dm644 libgmni.pc $(LIBDIR)/pkgconfig/libgmni.pc + mkdir -p $(LIBDIR) + mkdir -p $(INCLUDEDIR)/gmni + mkdir -p $(LIBDIR)/pkgconfig + install -m755 gmni $(BINDIR)/gmni + install -m755 gmnlm $(BINDIR)/gmnlm + install -m755 libgmni.a $(LIBDIR)/libgmni.a + install -m644 include/gmni/gmni.h $(INCLUDEDIR)/gmni/gmni.h + install -m644 include/gmni/tofu.h $(INCLUDEDIR)/gmni/tofu.h + install -m644 include/gmni/url.h $(INCLUDEDIR)/gmni/url.h + install -m644 libgmni.pc $(LIBDIR)/pkgconfig/libgmni.pc uninstall: rm -f $(BINDIR)/gmni diff --git a/config.sh b/config.sh @@ -127,8 +127,8 @@ run_configure() { all="$all docs" install_docs=" mkdir -p \$(MANDIR)/man1 - install -Dm644 doc/gmni.1 \$(MANDIR)/man1/gmni.1 - install -Dm644 doc/gmnlm.1 \$(MANDIR)/man1/gmnlm.1" + install -m644 doc/gmni.1 \$(MANDIR)/man1/gmni.1 + install -m644 doc/gmnlm.1 \$(MANDIR)/man1/gmnlm.1" else echo no fi