[8/20]tgt-stub/Makefile.in:fix install timestamp check
Fix bug: https://bugs.gentoo.org/705412 Fix bug: https://github.com/gentoo/gentoo/pull/14096 Related: https://github.com/steveicarus/iverilog/pull/294 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
404e475022
commit
af152bec32
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue