@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
- cp -pr $$/$$file $(distdir)/$$file; \
+ cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
# files created by sed scripts
-ginsh_fcn_help.c: ginsh.1 ginsh_fcn_help.sed
- sed -n -f ginsh_fcn_help.sed <$< >$@
+ginsh_fcn_help.c: ginsh.1 $(srcdir)/ginsh_fcn_help.sed
+ sed -n -f $(srcdir)/ginsh_fcn_help.sed <$< >$@
-ginsh_op_help.c: ginsh.1 ginsh_op_help.sed
- sed -n -f ginsh_op_help.sed <$< >$@
+ginsh_op_help.c: ginsh.1 $(srcdir)/ginsh_op_help.sed
+ sed -n -f $(srcdir)/ginsh_op_help.sed <$< >$@
ginsh_parser.o: ginsh_fcn_help.c ginsh_op_help.c