summaryrefslogtreecommitdiff
path: root/compatMakefile
diff options
context:
space:
mode:
Diffstat (limited to 'compatMakefile')
-rw-r--r--compatMakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/compatMakefile b/compatMakefile
index b885038..7d2826a 100644
--- a/compatMakefile
+++ b/compatMakefile
@@ -154,7 +154,7 @@ make: $(objs)
.c.o:
$(CC) $(defines) -c -I. -I$(srcdir) -I$(srcdir)/glob \
$(CFLAGS) $< $(OUTPUT_OPTION)
-remote.o: remote.c remote-*.c
+remote.o: remote.c $(srcdir)/remote-*.c
$(CC) $(defines) $(REMOTE) -c -I. -I$(srcdir) \
$(CFLAGS) $(srcdir)/remote.c
@@ -187,10 +187,9 @@ $(bindir)/$(instname): make
mv $@.new $@
$(infodir)/$(instname).info: make.info
- for file in $(srcdir)/make.info*; do \
- name="`basename $$file`"; \
+ for file in make.info*; do \
$(INSTALL_DATA) $$file \
- `echo $@ | sed "s/$(instname).info\$$/$$name/"`; \
+ `echo $@ | sed "s/$(instname).info\$$/$$file/"`; \
done
$(mandir)/$(instname).$(manext): make.man