diff --git a/tgt-stub/Makefile.in b/tgt-stub/Makefile.in index f00597ae3..8be486b2d 100644 --- a/tgt-stub/Makefile.in +++ b/tgt-stub/Makefile.in @@ -82,17 +82,16 @@ endif stub.tgt: $O $(TGTDEPLIBS) $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS) -install: all installdirs $(libdir)/ivl$(suffix)/stub.tgt \ - $(libdir)/ivl$(suffix)/stub.conf $(libdir)/ivl$(suffix)/stub-s.conf +install: all installdirs installfiles -$(libdir)/ivl$(suffix)/stub.tgt: ./stub.tgt +F = ./stub.tgt \ + ./stub.conf \ + ./stub-s.conf + +installfiles: $(F) installdirs $(INSTALL_PROGRAM) ./stub.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt" - -$(libdir)/ivl$(suffix)/stub.conf: stub.conf - $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf" - -$(libdir)/ivl$(suffix)/stub-s.conf: stub-s.conf - $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf" + $(INSTALL_DATA) ./stub.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf" + $(INSTALL_DATA) ./stub-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf" installdirs: $(srcdir)/../mkinstalldirs $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"