From 90e756a30b39586bcfa459074d93ac87986f7d8a Mon Sep 17 00:00:00 2001 From: "Alexander V. Lukyanov" Date: Tue, 20 Jun 2000 20:50:50 +0000 Subject: [PATCH] Fixed problems with compilation/install out of source tree. --- tools/wmc/Makefile.in | 6 +++--- tools/wrc/Makefile.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/wmc/Makefile.in b/tools/wmc/Makefile.in index e008873a6d2..bd75cb84231 100644 --- a/tools/wmc/Makefile.in +++ b/tools/wmc/Makefile.in @@ -20,7 +20,7 @@ EXTRA_OBJS = y.tab.o all: check_unicode $(PROGRAMS) -depend: y.tab.h +depend mcl.o: y.tab.h @MAKE_RULES@ @@ -28,7 +28,7 @@ wmc: $(OBJS) $(TOPOBJDIR)/unicode/unicode.o $(CC) $(CFLAGS) -o wmc $(OBJS) $(TOPOBJDIR)/unicode/unicode.o $(LEXLIB) $(TOPOBJDIR)/unicode/unicode.o check_unicode: - cd $(TOPSRCDIR)/unicode && $(MAKE) + cd $(TOPOBJDIR)/unicode && $(MAKE) y.tab.c y.tab.h: mcy.y $(YACC) $(YACCOPT) -d -t $(SRCDIR)/mcy.y @@ -39,7 +39,7 @@ clean:: install:: $(PROGRAMS) [ -d $(bindir) ] || $(MKDIR) $(bindir) [ -d $(mandir)/man$(prog_manext) ] || $(MKDIR) $(mandir)/man$(prog_manext) - $(INSTALL_DATA) wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext) + $(INSTALL_DATA) $(SRCDIR)/wmc.man $(mandir)/man$(prog_manext)/wmc.$(prog_manext) $(INSTALL_PROGRAM) wmc $(bindir)/wmc uninstall:: diff --git a/tools/wrc/Makefile.in b/tools/wrc/Makefile.in index edfdaca85df..f3909ea59f7 100644 --- a/tools/wrc/Makefile.in +++ b/tools/wrc/Makefile.in @@ -50,7 +50,7 @@ clean:: install:: $(PROGRAMS) [ -d $(bindir) ] || $(MKDIR) $(bindir) [ -d $(mandir)/man$(prog_manext) ] || $(MKDIR) $(mandir)/man$(prog_manext) - $(INSTALL_DATA) wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext) + $(INSTALL_DATA) $(SRCDIR)/wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext) $(INSTALL_PROGRAM) wrc $(bindir)/wrc uninstall::