]>
Commit | Line | Data |
---|---|---|
c69d1f51 JB |
1 | --- camldbm-1.0/Makefile.orig 2011-11-22 16:56:49.000000000 +0100 |
2 | +++ camldbm-1.0/Makefile 2014-11-06 21:00:16.398248365 +0100 | |
3 | @@ -57,13 +57,13 @@ | |
4 | $(OCAMLDEP) *.ml *.mli > .depend | |
5 | ||
6 | install:: | |
29e8ffbc | 7 | - if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi |
c69d1f51 JB |
8 | - cp libcamldbm.$(A) $(LIBDIR)/ |
9 | - cd $(LIBDIR) && ranlib libcamldbm.$(A) | |
10 | - cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/ | |
11 | - cp dbm.$(A) $(LIBDIR)/ | |
12 | - cd $(LIBDIR) && ranlib dbm.$(A) | |
13 | - if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi | |
29e8ffbc | 14 | + if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi |
c69d1f51 JB |
15 | + cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/ |
16 | + cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A) | |
17 | + cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/ | |
18 | + cp dbm.$(A) $(DESTDIR)$(LIBDIR)/ | |
19 | + cd $(DESTDIR)$(LIBDIR) && ranlib dbm.$(A) | |
20 | + if test -f dbm.cmxs; then cp dbm.cmxs $(DESTDIR)$(LIBDIR)/; fi | |
21 | ||
22 | clean:: | |
23 | rm -f *.cm* *.$(O) *.$(A) *.$(SO) |