--- Makefile.in.orig	Mon Jul  5 15:54:45 1999
+++ Makefile.in	Sun Dec 26 14:40:21 1999
@@ -124,6 +124,11 @@
 LIBEXT = a
 
 #
+#
+#
+SOELIM = @SOELIM@
+
+#
 # You should not need to alter anything below this point.
 #------------------------------------------------------------
 
@@ -644,7 +649,7 @@
 	awk -f etc/txt2c.awk man1/dns-boot-check.1 > $@
 
 $(mandir)/man1/dns-boot-check.1: man1/dns-boot-check.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-boot-check.1 > tmp
+	(cd man1; $(SOELIM) dns-boot-check.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -652,7 +657,7 @@
 	awk -f etc/txt2c.awk man1/dns-bootp.1 > $@
 
 $(mandir)/man1/dns-bootp.1: man1/dns-bootp.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-bootp.1 > tmp
+	(cd man1; $(SOELIM) dns-bootp.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -660,7 +665,7 @@
 	awk -f etc/txt2c.awk man1/dns-bootparams.1 > $@
 
 $(mandir)/man1/dns-bootparams.1: man1/dns-bootparams.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-bootparams.1 > tmp
+	(cd man1; $(SOELIM) dns-bootparams.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -669,7 +674,7 @@
 
 $(mandir)/man1/dns-ethers-import.1: man1/dns-ethers-import.1 \
 		man1/.mandir 
-	$(SOELIM) -Iman1 man1/dns-ethers-import.1 > tmp
+	(cd man1; $(SOELIM) dns-ethers-import.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -677,7 +682,7 @@
 	awk -f etc/txt2c.awk man1/dns-ethers.1 > $@
 
 $(mandir)/man1/dns-ethers.1: man1/dns-ethers.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-ethers.1 > tmp
+	(cd man1; $(SOELIM) dns-ethers.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -685,7 +690,7 @@
 	awk -f etc/txt2c.awk man1/dns-filter.1 > $@
 
 $(mandir)/man1/dns-filter.1: man1/dns-filter.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-filter.1 > tmp
+	(cd man1; $(SOELIM) dns-filter.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -693,7 +698,7 @@
 	awk -f etc/txt2c.awk man1/dns-hosts-import.1 > $@
 
 $(mandir)/man1/dns-hosts-import.1: man1/dns-hosts-import.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-hosts-import.1 > tmp
+	(cd man1; $(SOELIM) dns-hosts-import.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -701,7 +706,7 @@
 	awk -f etc/txt2c.awk man1/dns-hosts.1 > $@
 
 $(mandir)/man1/dns-hosts.1: man1/dns-hosts.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-hosts.1 > tmp
+	(cd man1; $(SOELIM) dns-hosts.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -709,7 +714,7 @@
 	awk -f etc/txt2c.awk man1/dns-license.1 > $@
 
 $(mandir)/man1/dns-license.1: man1/dns-license.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-license.1 > tmp
+	(cd man1; $(SOELIM) dns-license.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -717,7 +722,7 @@
 	awk -f etc/txt2c.awk man1/dns-ng.1 > $@
 
 $(mandir)/man1/dns-ng.1: man1/dns-ng.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-ng.1 > tmp
+	(cd man1; $(SOELIM) dns-ng.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
@@ -725,7 +730,7 @@
 	awk -f etc/txt2c.awk man1/dns-rev.1 > $@
 
 $(mandir)/man1/dns-rev.1: man1/dns-rev.1 man1/.mandir
-	$(SOELIM) -Iman1 man1/dns-rev.1 > tmp
+	(cd man1; $(SOELIM) dns-rev.1) > tmp
 	$(INSTALL_DATA) tmp $@
 	@rm tmp
 
