diff options
author | Rory Bradford <roryrjb@gmail.com> | 2020-10-10 10:22:39 +0100 |
---|---|---|
committer | Rory Bradford <roryrjb@gmail.com> | 2020-10-10 10:22:39 +0100 |
commit | a40bd8adb20715582813fb8399dd37e4efee9b37 (patch) | |
tree | b24cb66671e5540f1ab28fc5497c3eb0bf0cada7 /Makefile | |
parent | 1c5aba7f1b2a53cdcaf896df118f3c7b42c0251c (diff) | |
download | rf-a40bd8adb20715582813fb8399dd37e4efee9b37.tar.gz |
Improve Vim integration
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 42b5b79..58b045d 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,16 @@ all: $(BIN) $(BIN): $(OBJS) $(CC) $(CFLAGS) -o $(BIN) $(OBJS) -install: $(BIN) +rf.1: rf.1.scd + scdoc < $< > $@ + +rfignore.5: rfignore.5.scd + scdoc < $< > $@ + +rfconfig.5: rfconfig.5.scd + scdoc < $< > $@ + +install: $(BIN) rf.1 rfignore.5 rfconfig.5 mkdir -p \ $(DESTDIR)$(PREFIX)/bin \ $(DESTDIR)$(PREFIX)/man/man1 \ @@ -28,4 +37,4 @@ install: $(BIN) install -m444 rfconfig.5 $(DESTDIR)$(PREFIX)/man/man5/ clean: - rm -vf $(BIN) *.o + rm -vf $(BIN) *.o *.1 *.5 |