2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

build the .cat page in the current working dir, not the src dir

This commit is contained in:
Todd C. Miller 2009-06-15 21:18:53 +00:00
parent 44ace77355
commit 3086f937f0

View 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)