[Pkg-ocaml-maint-commits] [SCM] dose2 packaging branch, master, updated. a6e2dc48f8f8c55538b596ae7e3015187c714278
Stefano Zacchiroli
zack at upsilon.cc
Thu May 15 22:03:52 UTC 2008
The following commit has been merged in the master branch:
commit f4c1e79b1d6e060be0722a1511f8e6bc0ab28e2a
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date: Thu May 15 23:11:20 2008 +0200
remove vanished upstream Makefile.common
diff --git a/make/Makefile.common b/make/Makefile.common
deleted file mode 100644
index f37c4af..0000000
--- a/make/Makefile.common
+++ /dev/null
@@ -1,89 +0,0 @@
-# General rules
-#
-# make all: make bytecode archive
-# make opt: make native archive
-# make install: install bytecode archive, and if present, native archive
-# make uninstall: uninstall package
-# make clean: remove intermediate files
-# make distclean: remove any superflous files
-# make release: cleanup, create archive, tag CVS module
-# (for developers)
-
-#OPTIONS =
-OCAMLFIND = OCAMLPATH=$(BASE) ocamlfind
-OCAMLC = $(OCAMLFIND) ocamlc $(PP) -dtypes -verbose -thread -g $(OPTIONS) -w y -package "$(REQUIRES)"
-OCAMLOPT = $(OCAMLFIND) ocamlopt $(PP) -dtypes -verbose -thread $(OPTIONS) -w y -package "$(REQUIRES)"
-OCAMLDEP = ocamldep $(PP)
-OCAMLDOC = $(OCAMLFIND) $(PP) doc -package "$(REQUIRES)"
-OCAMLLEX = ocamllex
-OCAMLMKLIB = ocamlmklib
-MENHIR = menhir
-
-ifneq ($(DESTDIR),)
-DESTFLAG = -destdir $(DESTDIR)
-else
-DESTFLAG =
-endif
-
-.PHONY: install
-install:
- { test ! -f $(XARCHIVE) || extra1="*.cmxa *.a"; }; \
- { test -z "$(DESTDIR)" || mkdir -p "$(DESTDIR)"; }; \
- $(OCAMLFIND) install -ldconf ignore $(DESTFLAG) $(NAME) *.mli *.cmi *.cma META $$extra1 $(extra2)
-
-.PHONY: uninstall
-uninstall:
- $(OCAMLFIND) remove $(NAME)
-
-.PHONY: clean
-clean:
- @echo CLN
- @rm -f *.mld
- @rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa *.so
- @rm -f $(EXEC) $(XEXEC)
- @rm -f *.annot
- @rm -f dummy.ld.conf
- @rm -f doc/*
-
-.PHONY: doc
-doc:
- @echo DOC $<
- rm -rf doc
- mkdir -p doc
- @$(OCAMLDOC) -stars -html -d doc -t "The $(NAME) Manual" *.mli
-
-%.ml %.mli: %.mll
- @echo LEX $<
- @$(OCAMLLEX) $<
-
-%.ml %.mli: %.mly
- @echo MENHIR $<
- @$(MENHIR) $<
-
-%.mld: %.ml
- @set -e
- @echo MLD $<
- @rm -f $@
- @$(OCAMLDEP) $< | tr "\n" "~" | sed 's,\\~,,g' | tr "~" "\n" | sed '/\.cmo:/ s,^\([^.:]*\)\.\(cmo\) *:,\1.d \1.\2:,' >$@
-
-%.mlid: %.mli
- @set -e
- @echo MLID $<
- @rm -f $@
- @$(OCAMLDEP) $< | tr "\n" "~" | sed 's,\\~,,g' | tr "~" "\n" | sed '/\.cmi:/ s,^\([^.:]*\)\.\(cmi\) *:,\1.\2:,' >$@
-
-%.cmx: %.ml
- @echo CMX $<
- @$(OCAMLOPT) -c $<
-
-%.cmo: %.ml
- @echo CMO $<
- @$(OCAMLC) -c $<
-
-%.cmi: %.mli
- @echo CMI $<
- @$(OCAMLC) -c $<
-
-.SUFFIXES: .cmo .cmi .cmx .ml .mli
-
-include $(patsubst %.c,,$(patsubst %.mli,%.mlid,$(patsubst %.ml,%.mld,$(PSOURCES))))
--
dose2 packaging
More information about the Pkg-ocaml-maint-commits
mailing list