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

Collapse All | Expand All

(-)ocamlgraph-1.5-orig/Makefile.in (-5 / +7 lines)
Lines 16-22 Link Here
16
##########################################################################
16
##########################################################################
17
17
18
# Where to install the binaries
18
# Where to install the binaries
19
DESTDIR	=
20
prefix	=@prefix@
19
prefix	=@prefix@
21
exec_prefix=@exec_prefix@
20
exec_prefix=@exec_prefix@
22
datarootdir=@datarootdir@
21
datarootdir=@datarootdir@
Lines 293-303 install: install-$(OCAMLBEST) install-by Link Here
293
	mkdir -p $(BINDIR)
292
	mkdir -p $(BINDIR)
294
ifeq (@LABLGNOMECANVAS@,yes)
293
ifeq (@LABLGNOMECANVAS@,yes)
295
ifeq ($(OCAMLBEST),byte)
294
ifeq ($(OCAMLBEST),byte)
296
	cp -f $(BINDIR)/graph-editor.byte $(BINDIR)/graph-editor$(EXE)
295
	mv $(BINDIR)/graph-editor.byte $(BINDIR)/ocamlgraph-editor$(EXE)
297
	cp -f $(BINDIR)/graph-viewer.byte $(BINDIR)/graph-viewer$(EXE)
296
	mv $(BINDIR)/graph-viewer.byte $(BINDIR)/ocamlgraph-viewer$(EXE)
298
else
297
else
299
	cp -f $(BINDIR)/graph-editor.opt $(BINDIR)/graph-editor$(EXE)
298
	mv $(BINDIR)/graph-editor.opt $(BINDIR)/ocamlgraph-editor$(EXE)
300
	cp -f $(BINDIR)/graph-viewer.opt $(BINDIR)/graph-viewer$(EXE)
299
	mv $(BINDIR)/graph-viewer.opt $(BINDIR)/ocamlgraph-viewer$(EXE)
300
	mv $(BINDIR)/graph-editor.byte $(BINDIR)/ocamlgraph-editor.byte
301
	mv $(BINDIR)/graph-viewer.byte $(BINDIR)/ocamlgraph-viewer.byte
301
endif
302
endif
302
endif
303
endif
303
304
Lines 305-310 install-byte: Link Here
305
	mkdir -p $(INSTALL_LIBDIR)
306
	mkdir -p $(INSTALL_LIBDIR)
306
	cp -f graph.cmo graph.cmi $(CMA) $(INSTALL_LIBDIR)
307
	cp -f graph.cmo graph.cmi $(CMA) $(INSTALL_LIBDIR)
307
	cp -f $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
308
	cp -f $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
309
	cp -f META $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
308
ifeq (@LABLGNOMECANVAS@,yes)
310
ifeq (@LABLGNOMECANVAS@,yes)
309
	mkdir -p $(BINDIR)
311
	mkdir -p $(BINDIR)
310
	cp -f $(ED_DIR)/editor.byte $(BINDIR)/graph-editor.byte
312
	cp -f $(ED_DIR)/editor.byte $(BINDIR)/graph-editor.byte

Return to bug 277743