From d7e1df563868352b0a5a0cff8fb9ab62fd2623bc Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Sat, 18 Jan 2020 14:34:43 +0800 Subject: [PATCH] [10/20]tgt-pcb/Makefile.in:Remove useless $(INSTALL_DOC) fix install timestamp check and Remove useless $(INSTALL_DOC) 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-pcb/Makefile.in | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tgt-pcb/Makefile.in b/tgt-pcb/Makefile.in index 79fb9531f..8aa0fbc8f 100644 --- a/tgt-pcb/Makefile.in +++ b/tgt-pcb/Makefile.in @@ -105,18 +105,17 @@ endif pcb.tgt: $O $(TGTDEPLIBS) $(CXX) @shared@ $(LDFLAGS) -o $@ $O $(TGTLDFLAGS) -install: all installdirs $(libdir)/ivl$(suffix)/pcb.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/pcb.conf $(libdir)/ivl$(suffix)/pcb-s.conf +install: all installdirs installfiles -$(libdir)/ivl$(suffix)/pcb.tgt: ./pcb.tgt +F = ./pcb.tgt \ + $(srcdir)/pcb.conf \ + $(srcdir)/pcb-s.conf + +installfiles: $(F) installdirs $(INSTALL_PROGRAM) ./pcb.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.tgt" - -$(libdir)/ivl$(suffix)/pcb.conf: $(srcdir)/pcb.conf $(INSTALL_DATA) $(srcdir)/pcb.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.conf" - -$(libdir)/ivl$(suffix)/pcb-s.conf: $(srcdir)/pcb-s.conf $(INSTALL_DATA) $(srcdir)/pcb-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb-s.conf" - installdirs: $(srcdir)/../mkinstalldirs $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)/ivl$(suffix)"