From bd130786ff69d9ff65122ed529a2ce8bf7c34780 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sat, 18 Jan 2020 13:49:35 +0800 Subject: [PATCH] [4/20]tgt-vvp/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 --- tgt-vvp/Makefile.in | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/tgt-vvp/Makefile.in b/tgt-vvp/Makefile.in index a9b4fd0a6..eb827d174 100644 --- a/tgt-vvp/Makefile.in +++ b/tgt-vvp/Makefile.in @@ -104,17 +104,16 @@ stamp-vvp_config-h: $(srcdir)/vvp_config.h.in ../config.status cd ..; ./config.status --header=tgt-vvp/vvp_config.h vvp_config.h: stamp-vvp_config-h -install: all installdirs $(libdir)/ivl$(suffix)/vvp.tgt $(libdir)/ivl$(suffix)/vvp.conf $(libdir)/ivl$(suffix)/vvp-s.conf +install: all installdirs installfiles -$(libdir)/ivl$(suffix)/vvp.tgt: ./vvp.tgt +F = ./vvp.tgt \ + ./vvp.conf \ + ./vvp-s.conf + +installfiles: $(F) installdirs $(INSTALL_PROGRAM) ./vvp.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt" - -$(libdir)/ivl$(suffix)/vvp.conf: vvp.conf - $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf" - -$(libdir)/ivl$(suffix)/vvp-s.conf: vvp-s.conf - $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf" - + $(INSTALL_DATA) ./vvp.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf" + $(INSTALL_DATA) ./vvp-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf" installdirs: $(srcdir)/../mkinstalldirs $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)/ivl$(suffix)"