summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-04 20:12:25 +0100
committerMattias Andrée <maandree@kth.se>2022-01-04 20:27:59 +0100
commitc0fc8ea0a8449f4808cc83e5f8448a4c7743a260 (patch)
tree00a6c057f2a3cd36e558f386655e1d1fc2410bea
parentdon't print argv0 (diff)
downloadmakel-c0fc8ea0a8449f4808cc83e5f8448a4c7743a260.tar.gz
makel-c0fc8ea0a8449f4808cc83e5f8448a4c7743a260.tar.bz2
makel-c0fc8ea0a8449f4808cc83e5f8448a4c7743a260.tar.xz
Rename to makel
Suggested by Laslo Hunhold, "Makel" is German for defect, deficiency, impurity, or imperfection (both singular and plural); a flaw. This change is to avoid confusion between make(1) and mk(1) Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--.gitignore2
-rw-r--r--Makefile18
-rw-r--r--makel.c (renamed from mklint.c)0
3 files changed, 10 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index e79ed4c..cba7df9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,4 +12,4 @@
*.gcov
*.gcno
*.gcda
-/mklint
+/makel
diff --git a/Makefile b/Makefile
index c8329a8..13b29b2 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CONFIGFILE = config.mk
include $(CONFIGFILE)
OBJ =\
- mklint.o\
+ makel.o\
makefile.o\
text.o\
ui.o
@@ -12,28 +12,28 @@ OBJ =\
HDR =\
common.h
-all: mklint
+all: makel
$(OBJ): $(HDR)
.c.o:
$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
-mklint: $(OBJ)
+makel: $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS)
-install: mklint
+install: makel
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/"
- cp -- mklint "$(DESTDIR)$(PREFIX)/bin/"
- cp -- mklint.1 "$(DESTDIR)$(MANPREFIX)/man1/"
+ cp -- makel "$(DESTDIR)$(PREFIX)/bin/"
+ cp -- makel.1 "$(DESTDIR)$(MANPREFIX)/man1/"
uninstall:
- -rm -f -- "$(DESTDIR)$(PREFIX)/bin/mklint"
- -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/mklint.1"
+ -rm -f -- "$(DESTDIR)$(PREFIX)/bin/makel"
+ -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/makel.1"
clean:
-rm -f -- *.o *.a *.lo *.su *.so *.so.* *.gch *.gcov *.gcno *.gcda
- -rm -f -- mklint
+ -rm -f -- makel
.SUFFIXES:
.SUFFIXES: .o .c
diff --git a/mklint.c b/makel.c
index 514be21..514be21 100644
--- a/mklint.c
+++ b/makel.c