From a7738f4dc72c9445623cd6f5348d7a80d4e52690 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 9 Oct 2022 17:57:05 -0400 Subject: initial commit, straight from apt-get source --- man/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 man/Makefile (limited to 'man/Makefile') diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 0000000..2f8d321 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,27 @@ +# Part 0 +# load common stuff +TOPDIR = .. +include $(TOPDIR)/Makefile.common + +# backslashify slashes to avoid problems with sed +BPREFIX := $(subst /,\/,$(PREFIX)) + +SRC = fbxkb.1 +TARGET = fbxkb.1.gz + +all: $(TARGET) +$(TARGET): $(SRC) + sed 's/PREFIX/$(BPREFIX)/g' < $(SRC) | gzip - > $@ + + + +clean: + $(RM) $(TARGET) *~ + + +install: all + install -d $(PREFIX)/share/man/man1 + install -m 644 $(TARGET) $(PREFIX)/share/man/man1 + +uninstall: + rm -f $(PREFIX)/share/man/man1/$(TARGET) -- cgit