mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Clean up whitespace and remove unused aliases.
This commit is contained in:
parent
340ad317e1
commit
927049548c
1 changed files with 9 additions and 21 deletions
30
Makefile
30
Makefile
|
@ -1,7 +1,6 @@
|
||||||
# Config options
|
# Config options
|
||||||
ENABLE_RELEASE ?= n
|
PROFILE ?= debug
|
||||||
PROFILE ?= debug
|
MULTICALL ?= n
|
||||||
MULTICALL ?= n
|
|
||||||
|
|
||||||
PROFILE_CMD :=
|
PROFILE_CMD :=
|
||||||
ifeq (${PROFILE},release)
|
ifeq (${PROFILE},release)
|
||||||
|
@ -9,20 +8,20 @@ ifeq (${PROFILE},release)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
CARGO ?= cargo
|
CARGO ?= cargo
|
||||||
|
|
||||||
# Install directories
|
# Install directories
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
BINDIR ?= /bin
|
BINDIR ?= /bin
|
||||||
LIBDIR ?= /lib
|
LIBDIR ?= /lib
|
||||||
|
|
||||||
INSTALLDIR=$(DESTDIR)$(PREFIX)
|
INSTALLDIR=$(DESTDIR)$(PREFIX)
|
||||||
|
|
||||||
# This won't support any directory with spaces in its name, but you can just
|
# This won't support any directory with spaces in its name, but you can just
|
||||||
# make a symlink without spaces that points to the directory.
|
# make a symlink without spaces that points to the directory.
|
||||||
BASEDIR ?= $(shell pwd)
|
BASEDIR ?= $(shell pwd)
|
||||||
BUILDDIR := $(BASEDIR)/target/${PROFILE}/
|
BUILDDIR := $(BASEDIR)/target/${PROFILE}/
|
||||||
PKG_BUILDDIR := $(BUILDDIR)/deps/
|
PKG_BUILDDIR := $(BUILDDIR)/deps/
|
||||||
|
|
||||||
# Possible programs
|
# Possible programs
|
||||||
PROGS := \
|
PROGS := \
|
||||||
|
@ -107,14 +106,6 @@ ifneq ($(OS),Windows_NT)
|
||||||
PROGS := $(PROGS) $(UNIX_PROGS)
|
PROGS := $(PROGS) $(UNIX_PROGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ALIASES := \
|
|
||||||
hashsum:md5sum \
|
|
||||||
hashsum:sha1sum \
|
|
||||||
hashsum:sha224sum \
|
|
||||||
hashsum:sha256sum \
|
|
||||||
hashsum:sha384sum \
|
|
||||||
hashsum:sha512sum
|
|
||||||
|
|
||||||
BUILD ?= $(PROGS)
|
BUILD ?= $(PROGS)
|
||||||
|
|
||||||
# Programs with usable tests
|
# Programs with usable tests
|
||||||
|
@ -210,9 +201,6 @@ endif
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
crates:
|
|
||||||
echo "okay" $(EXES)
|
|
||||||
|
|
||||||
do_install = install ${1}
|
do_install = install ${1}
|
||||||
use_default := 1
|
use_default := 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue