-- Leo's gemini proxy

-- Connecting to typed-hole.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

commit 779e37c02a006c58580cf3a8e478bcd2b6a17949

Author: Francesco Gazzetta <fgaz@fgaz.me>

Date: Thu Apr 16 19:26:46 2020 +0200


Use install -D instead of mkdir


diff --git a/Makefile b/Makefile

index 62a825c..1b39fa8 100644

--- a/Makefile

+++ b/Makefile

@@ -2,7 +2,7 @@

PREFIX=/usr


What to run to install various files

-INSTALL=install

+INSTALL=install -D

Run to install the actual binary

INSTALL_PROGRAM=$(INSTALL)

Run to install application data, with differing permissions

@@ -20,8 +20,6 @@ target/release/castor : src

cargo build --release


install : target/release/castor install-data

- # Create the bindir, if need be

- mkdir -p $(bindir)

Install binary

$(INSTALL_PROGRAM) target/release/castor $(bindir)/castor


@@ -33,12 +31,6 @@ install-data : copy-data


Just copy the data files, without updating caches

copy-data :

- # Create icon folders if needed

- mkdir -p $(sharedir)/icons/hicolor/scalable/apps/

- mkdir -p $(sharedir)/icons/hicolor/16x16/apps/

- mkdir -p $(sharedir)/icons/hicolor/32x32/apps/

- mkdir -p $(sharedir)/icons/hicolor/64x64/apps/

- mkdir -p $(sharedir)/icons/hicolor/128x128/apps/

Install icons

$(INSTALL_DATA) data/org.typed-hole.castor.svg $(sharedir)/icons/hicolor/scalable/apps/org.typed-hole.castor.svg

$(INSTALL_DATA) data/org.typed-hole.castor-16.png $(sharedir)/icons/hicolor/16x16/apps/org.typed-hole.castor.png



---

Served by Pollux Gemini Server.

-- Response ended

-- Page fetched on Sun May 19 07:48:40 2024