]> granicus.if.org Git - sudo/commitdiff
build the .cat page in the current working dir, not the src dir
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 15 Jun 2009 21:18:53 +0000 (21:18 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 15 Jun 2009 21:18:53 +0000 (21:18 +0000)
Makefile.in

index a607568abd1f726969dec9e38f8fbf3906f4acfb..f841b32ad01830153185d3d38251407e4a11d66b 100644 (file)
@@ -182,8 +182,8 @@ all: $(PROGS)
        $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $<
 
 .man.cat:
-       @rm -f $(srcdir)/$@
-       sed '1s/^/.if n .ll 78n/' $< | $(NROFF) -man > $(srcdir)/$@
+       @rm -f $@
+       sed '1s/^/.if n .ll 78n/' $< | $(NROFF) -man > $@
 
 sudo: $(SUDO_OBJS) $(LIB_OBJS)
        $(CC) -o $@ $(SUDO_OBJS) $(LIB_OBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS)