Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 775881 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile (-2 / +13 lines)
Lines 194-200 else Link Here
194
                $(LINK_LIBS) $(subst /,$(COMPILER_SEP),$(GRAPH_LIB)) \
194
                $(LINK_LIBS) $(subst /,$(COMPILER_SEP),$(GRAPH_LIB)) \
195
                $(GRAPH_LINK) $(MATH)
195
                $(GRAPH_LINK) $(MATH)
196
196
197
  .PHONY: exes clean distclean
197
  .PHONY: exes clean distclean install
198
198
199
199
200
  ###################################################################
200
  ###################################################################
Lines 317-322 else Link Here
317
  # EXES += fttimer
317
  # EXES += fttimer
318
  # EXES += testname
318
  # EXES += testname
319
319
320
  # The existing man pages for the programs which were compiled.
321
  #
322
  MANPAGES := $(foreach man,$(EXES),$(wildcard $(TOP_DIR_2)/man/$(man).1))
323
320
  exes: $(EXES:%=$(BIN_DIR_2)/%$E)
324
  exes: $(EXES:%=$(BIN_DIR_2)/%$E)
321
325
322
326
Lines 567-572 else Link Here
567
                        $(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
571
                        $(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
568
	  $(LINK_NEW)
572
	  $(LINK_NEW)
569
573
574
  ifeq ($(PLATFORM),unix)
575
    install: exes
576
	$(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
577
	$(foreach bin,$(EXES), $(LIBTOOL) --mode=install $(INSTALL) \
578
		$(BIN_DIR_2)/$(bin) $(DESTDIR)$(bindir)/$(bin);)
579
	$(foreach man,$(MANPAGES), $(INSTALL) $(man) \
580
		$(DESTDIR)$(mandir)/man1/$(notdir $(man));)
581
  endif
570
endif
582
endif
571
583
572
584
573
- 

Return to bug 775881