diff --git a/Makefile b/Makefile index 61e2487..e4f379b 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ RUSTLIBS = --extern getopt=build/o/libgetopt.rlib \ CFLAGS += -I$(SYSEXITS) .PHONY: all -all: dj false fop hru intcmp mm npc rpn scrut str strcmp swab true +all: dj false fop hru intcmp mm npc rpn scroll scrut str strcmp swab true # keep build/include until bindgen(1) has stdin support # https://github.com/rust-lang/rust-bindgen/issues/2703 @@ -122,10 +122,10 @@ npc: build/bin/npc build/bin/npc: src/npc.c build $(CC) $(CFLAGS) -o $@ src/npc.c -.PHONY: pg -pg: build/bin/pg -build/bin/pg: src/pg.c build - $(CC) $(CFLAGS) -o $@ src/pg.c +.PHONY: scroll +scroll: build/bin/scroll +build/bin/scroll: src/scroll.c build + $(CC) $(CFLAGS) -o $@ src/scroll.c .PHONY: rpn rpn: build/bin/rpn diff --git a/docs/pg.1 b/docs/scroll.1 similarity index 93% rename from docs/pg.1 rename to docs/scroll.1 index 724d957..3fd9e8e 100644 --- a/docs/pg.1 +++ b/docs/scroll.1 @@ -4,13 +4,13 @@ .\" This work is licensed under CC BY-SA 4.0. To see a copy of this license, .\" visit . .\" -.TH PG 1 2024-06-26 "Harakit X.X.X" +.TH PG 1 2024-07-31 "Harakit X.X.X" .SH NAME -pg \(en paginate +scroll \(en present output .\" .SH SYNOPSIS -pg +scroll .RB ( -p .RB [ prompt ]) .\" diff --git a/src/pg.c b/src/scroll.c similarity index 100% rename from src/pg.c rename to src/scroll.c