aboutsummaryrefslogtreecommitdiffstats
path: root/soelim/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'soelim/Makefile.mk')
-rw-r--r--soelim/Makefile.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/soelim/Makefile.mk b/soelim/Makefile.mk
index ada1441b7e9f..9e2bf763753c 100644
--- a/soelim/Makefile.mk
+++ b/soelim/Makefile.mk
@@ -5,7 +5,7 @@ FLAGS =
.c.o:
$(CC) $(_CFLAGS) $(FLAGS) -c $<
-all: soelim
+all: soelim soelim.1
soelim: $(OBJ)
$(CC) $(_CFLAGS) $(_LDFLAGS) $(OBJ) $(LIBS) -o soelim
@@ -16,6 +16,9 @@ install:
$(INSTALL) -c -m 644 soelim.1 $(ROOT)$(MANDIR)/man1/soelim.1
clean:
- rm -f $(OBJ) soelim core log *~
+ rm -f $(OBJ) soelim core log *~ soelim.1
mrproper: clean
+
+soelim.1: soelim.1.in
+ sed 's"/usr/ucblib/doctools/tmac/"$(ROOT)$(MACDIR)/"' soelim.1.in > $@