From f40454098c596dfb85cccfe7254d370442cca77c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 28 Jul 2019 15:41:06 -0400 Subject: Remove old commands --- Makefile | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7e8053e..ece7cca 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,32 @@ -BINS = create destroy ingest ptee ssh-command view -USER = stream +CHROOT_USER = stream +CHROOT_GROUP = ${CHROOT_USER} CFLAGS += -Wall -Wextra -Wpedantic +LDFLAGS = -static LDLIBS = -lutil -all: tags $(BINS) +-include config.mk + +BINS = ptee + +all: tags ${BINS} tags: *.c ctags -w *.c -chroot.tar: $(BINS) +chroot.tar: ${BINS} mkdir -p root install -d -o root -g wheel \ + root \ root/bin \ root/home \ - root/lib \ - root/libexec \ - root/usr \ - root/usr/share \ root/usr/share/misc - install -d -o $(USER) -g $(USER) root/home/$(USER) - install -o root -g wheel -m 555 /libexec/ld-elf.so.1 root/libexec - install -o root -g wheel -m 444 \ - /lib/libc.so.7 \ - /lib/libedit.so.7 \ - /lib/libncursesw.so.8 \ - /lib/libutil.so.9 \ - root/lib - install -o root -g wheel -m 444 /usr/share/misc/termcap.db root/usr/share/misc - install -o root -g wheel -m 555 /bin/sh root/bin - install -o root -g wheel -m 555 $(BINS) root/bin - tar -c -f chroot.tar -C root bin home lib libexec usr + install -d -o ${CHROOT_USER} -g ${CHROOT_GROUP} root/home/${CHROOT_USER} + cp -af /usr/share/locale root/usr/share + cp -fp /usr/share/misc/termcap.db root/usr/share/misc + cp -fp /rescue/sh root/bin + install ${BINS} root/bin + tar -c -f chroot.tar -C root bin home usr clean: - rm -f tags $(BINS) chroot.tar + rm -fr ${BINS} tags chroot.tar root -- cgit 1.4.1 er'>committer
path: root/doc/zlib/gzputc.3 (unfollow)
Commit message (Collapse)Author
2024-09-08Apply some bold to trips renderingJune McEnroe
This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that.
2024-09-08Render trips hopefully more efficientlyJune McEnroe
2024-09-08Allow removing bodies and lensesJune McEnroe
2024-09-08Limit body width so it looks less silly on desktopJune McEnroe
2024-09-07Handle no film being loadedJune McEnroe
2024-09-07Fancy up the text a littleJune McEnroe