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.1-orig/Makefile.in (-8 / +13 lines)
Lines 242-270 Link Here
242
242
243
install: install-$(OCAMLBEST) install-byte
243
install: install-$(OCAMLBEST) install-byte
244
ifeq (@LABLGNOMECANVAS@,yes)
244
ifeq (@LABLGNOMECANVAS@,yes)
245
	mkdir -p $(DESTDIR)$(BINDIR)
245
ifeq ($(OCAMLBEST),byte)
246
ifeq ($(OCAMLBEST),byte)
246
	cp -f $(BINDIR)/graph-editor.byte $(BINDIR)/graph-editor$(EXE)
247
	cp -f $(DESTDIR)$(BINDIR)/graph-editor.byte $(DESTDIR)$(BINDIR)/graph-editor$(EXE)
247
	cp -f $(BINDIR)/graph-viewer.byte $(BINDIR)/graph-viewer$(EXE)
248
	cp -f $(DESTDIR)$(BINDIR)/graph-viewer.byte $(DESTDIR)$(BINDIR)/graph-viewer$(EXE)
248
else
249
else
249
	cp -f $(BINDIR)/graph-editor.opt $(BINDIR)/graph-editor$(EXE)
250
	cp -f $(DESTDIR)$(BINDIR)/graph-editor.opt $(DESTDIR)$(BINDIR)/graph-editor$(EXE)
250
	cp -f $(BINDIR)/graph-viewer.opt $(BINDIR)/graph-viewer$(EXE)
251
	cp -f $(DESTDIR)$(BINDIR)/graph-viewer.opt $(DESTDIR)$(BINDIR)/graph-viewer$(EXE)
251
endif
252
endif
252
endif
253
endif
253
254
254
install-byte: 
255
install-byte: 
256
	mkdir -p "$(DESTDIR)$(OCAMLLIB)"
255
	cp -f graph.cmo graph.cmi $(CMA) "$(DESTDIR)$(OCAMLLIB)"
257
	cp -f graph.cmo graph.cmi $(CMA) "$(DESTDIR)$(OCAMLLIB)"
256
ifeq (@LABLGNOMECANVAS@,yes)
258
ifeq (@LABLGNOMECANVAS@,yes)
257
	cp -f $(ED_DIR)/editor.byte $(BINDIR)/graph-editor.byte
259
	mkdir -p $(DESTDIR)$(BINDIR)
260
	cp -f $(ED_DIR)/editor.byte $(DESTDIR)$(BINDIR)/graph-editor.byte
258
	cp -f $(VIEWER_CMO) "$(DESTDIR)$(OCAMLLIB)"
261
	cp -f $(VIEWER_CMO) "$(DESTDIR)$(OCAMLLIB)"
259
	cp -f $(VIEWER_DIR)/viewgraph.byte $(BINDIR)/graph-viewer.byte
262
	cp -f $(VIEWER_DIR)/viewgraph.byte $(DESTDIR)$(BINDIR)/graph-viewer.byte
260
endif
263
endif
261
264
262
install-opt: install-byte
265
install-opt: install-byte
266
	mkdir -p "$(DESTDIR)$(OCAMLLIB)"
263
	cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(DESTDIR)$(OCAMLLIB)"
267
	cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(DESTDIR)$(OCAMLLIB)"
264
ifeq (@LABLGNOMECANVAS@,yes)
268
ifeq (@LABLGNOMECANVAS@,yes)
265
	cp -f $(ED_DIR)/editor.opt $(BINDIR)/graph-editor.opt
269
	mkdir -p $(DESTDIR)$(BINDIR)
270
	cp -f $(ED_DIR)/editor.opt $(DESTDIR)$(BINDIR)/graph-editor.opt
266
	cp -f $(VIEWER_CMX) "$(DESTDIR)$(OCAMLLIB)"
271
	cp -f $(VIEWER_CMX) "$(DESTDIR)$(OCAMLLIB)"
267
	cp -f $(VIEWER_DIR)/viewgraph.opt $(BINDIR)/graph-viewer.opt
272
	cp -f $(VIEWER_DIR)/viewgraph.opt $(DESTDIR)$(BINDIR)/graph-viewer.opt
268
endif
273
endif
269
274
270
install-findlib: META
275
install-findlib: META

Return to bug 277743