From 13137224388e5b5a301d2b20cb3ccbe7181e54c5 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sat, 18 Jan 2020 14:37:20 +0800 Subject: [PATCH] [11/20]tgt-pal/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-pal/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tgt-pal/Makefile.in b/tgt-pal/Makefile.in index f3b06cb81..56f2114d9 100644 --- a/tgt-pal/Makefile.in +++ b/tgt-pal/Makefile.in @@ -80,12 +80,13 @@ endif pal.tgt: $O $(TGTDEPLIBS) $(CC) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS) -lipal -install: all installdirs $(libdir)/ivl/pal.tgt +install: all installdirs installfiles -$(libdir)/ivl/pal.tgt: ./pal.tgt +F = ./pal.tgt + +installfiles: $(F) installdirs $(INSTALL_PROGRAM) ./pal.tgt "$(DESTDIR)$(libdir)/ivl/pal.tgt" - installdirs: $(srcdir)/../mkinstalldirs $(srcdir)/../mkinstalldirs "$(DESTDIR)/$(libdir)/ivl"