Use absolute path to medit-app.c in its target

This commit is contained in:
Yevgen Muntyan 2006-08-01 15:48:44 -05:00
parent 4552271367
commit f34ab6f048

View File

@ -27,7 +27,8 @@ medit-ui.h: medit-ui.xml
THANKS.h: ../THANKS THANKS.h: ../THANKS
sh $(srcdir)/../moo/mooutils/xml2h.sh THANKS $(srcdir)/../THANKS > THANKS.h sh $(srcdir)/../moo/mooutils/xml2h.sh THANKS $(srcdir)/../THANKS > THANKS.h
medit-app.c: medit-app.opag medit-ui.h # medit-app.c is not in BUILT_SOURCES, so the target must use absolute path to it
$(srcdir)/medit-app.c: medit-app.opag medit-ui.h
if test -z $(OPAG); then \ if test -z $(OPAG); then \
touch $(srcdir)/medit-app.c; \ touch $(srcdir)/medit-app.c; \
else \ else \