aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-06-13 14:28:49 -0400
committerCameron Katri <me@cameronkatri.com>2022-06-13 22:15:27 -0400
commit9c3635b6eeca14dea544c17fc0497bd205c20b92 (patch)
tree7682110ab176b3a8e4b3eb1d346ecdc25e62746c /Makefile
parent59b06ee63aa566ae7a3c4f6ca90e27e19d6d7226 (diff)
downloadtrustcache-9c3635b6eeca14dea544c17fc0497bd205c20b92.tar.gz
trustcache-9c3635b6eeca14dea544c17fc0497bd205c20b92.tar.zst
trustcache-9c3635b6eeca14dea544c17fc0497bd205c20b92.zip
Rename to trustcache
Linux contains a `tc(8)` that I was unaware of. https://manpages.debian.org/tc.8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 7eeb0db..7b7aec9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-OBJS = tc.o
+OBJS = trustcache.o
OBJS += append.o create.o info.o remove.o
OBJS += machoparse/cdhash.o cache_from_tree.o sort.o
OBJS += uuid/gen_uuid.o uuid/pack.o uuid/unpack.o uuid/parse.o uuid/unparse.o uuid/copy.o
@@ -19,24 +19,24 @@ else
LIBS += -lcrypto
endif
-all: tc
+all: trustcache
-install: tc tc.1
+install: trustcache trustcache.1
install -d $(BINDIR)
- install -m 755 tc $(BINDIR)/
+ install -m 755 trustcache $(BINDIR)/
install -d $(MANDIR)/man1/
- install -m 644 tc.1 $(MANDIR)/man1/
+ install -m 644 trustcache.1 $(MANDIR)/man1/
uninstall:
- rm -i $(BINDIR)/tc $(MANDIR)/man1/tc.1
+ rm -i $(BINDIR)/trustcache $(MANDIR)/man1/trustcache.1
-tc: $(OBJS)
+trustcache: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
-README.txt: tc.1
+README.txt: trustcache.1
mandoc $^ | col -bx > $@
clean:
- rm -f tc $(OBJS)
+ rm -f trustcache $(OBJS)
.PHONY: all clean install uninstall