]> git.pond.sub.org Git - empserver/blobdiff - Make.mk
The previous revision of Make.mk didn't work with separate build
[empserver] / Make.mk
diff --git a/Make.mk b/Make.mk
index 3adb4fbf18e4ffd05de1e646a2478e0ca63fb475..26e814c7a66a2a96c143586e2933087ca9d5570c 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -235,7 +235,9 @@ endif
 
 
 info.nr/%: info/%.t
-       (cd $(srcdir)/info && $(NROFF) CRT.MAC $(notdir $< )) | $(AWK) -f $(filter %/Blank.awk, $^) >$@
+       $(NROFF) $(filter %.MAC, $^) $< | $(AWK) -f $(filter %/Blank.awk, $^) >$@
+# Pipes in make are a pain.  Catch obvious errors:
+       @test -s $@
 
 info.html/%.html: info/%.t
        perl $(filter %.pl, $^) $< >$@