Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 493 lines (426 sloc) 14.705 kb
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
1 # Makefile.in generated by automake 1.10 from Makefile.am.
2 # Makefile. Generated from Makefile.in by configure.
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15
16
17 pkgdatadir = $(datadir)/opam
18 pkglibdir = $(libdir)/opam
19 pkgincludedir = $(includedir)/opam
20 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21 install_sh_DATA = $(install_sh) -c -m 644
22 install_sh_PROGRAM = $(install_sh) -c
23 install_sh_SCRIPT = $(install_sh) -c
24 INSTALL_HEADER = $(INSTALL_DATA)
25 transform = $(program_transform_name)
26 NORMAL_INSTALL = :
27 PRE_INSTALL = :
28 POST_INSTALL = :
29 NORMAL_UNINSTALL = :
30 PRE_UNINSTALL = :
31 POST_UNINSTALL = :
32 subdir = .
33 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
34 $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS compile \
35 install-sh missing
36 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37 am__aclocal_m4_deps = $(top_srcdir)/m4/ocaml.m4 \
38 $(top_srcdir)/configure.ac
39 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
40 $(ACLOCAL_M4)
41 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
42 configure.lineno config.status.lineno
43 mkinstalldirs = $(install_sh) -d
44 CONFIG_CLEAN_FILES =
45 SOURCES =
46 DIST_SOURCES =
47 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
48 distdir = $(PACKAGE)-$(VERSION)
49 top_distdir = $(distdir)
50 am__remove_distdir = \
51 { test ! -d $(distdir) \
52 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
53 && rm -fr $(distdir); }; }
54 DIST_ARCHIVES = $(distdir).tar.gz
55 GZIP_ENV = --best
56 distuninstallcheck_listfiles = find . -type f -print
57 distcleancheck_listfiles = find . -type f -print
58 ACLOCAL = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run aclocal-1.10
59 AMTAR = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run tar
60 AUTOCONF = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run autoconf
61 AUTOHEADER = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run autoheader
62 AUTOMAKE = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run automake-1.10
63 AWK = awk
64 CYGPATH_W = echo
65 DEFS = -DPACKAGE_NAME=\"opam\" -DPACKAGE_TARNAME=\"opam\" -DPACKAGE_VERSION=\"0.5\" -DPACKAGE_STRING=\"opam\ 0.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"opam\" -DVERSION=\"0.5\"
66 ECHO_C = \c
67 ECHO_N =
68 ECHO_T =
69 INSTALL = /usr/bin/install -c
70 INSTALL_DATA = ${INSTALL} -m 644
71 INSTALL_PROGRAM = ${INSTALL}
72 INSTALL_SCRIPT = ${INSTALL}
73 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
74 LIBOBJS =
75 LIBS =
76 LTLIBOBJS =
77 MAKEINFO = ${SHELL} /Users/tgazagna/git/OCamlPro/opam/missing --run makeinfo
78 MKDIR_P = ./install-sh -c -d
79 OCAML = ocaml
80 OCAMLBEST = opt
81 OCAMLBUILD = ocamlbuild
82 OCAMLC = ocamlc.opt
83 OCAMLCDOTOPT = ocamlc.opt
84 OCAMLDEP = ocamldep
85 OCAMLDOC = ocamldoc
86 OCAMLLIB = /Users/tgazagna/.opam/3.12.1+mirage-unix-direct/lib/ocaml
87 OCAMLMKLIB = ocamlmklib
88 OCAMLMKTOP = ocamlmktop
89 OCAMLOPT = ocamlopt.opt
90 OCAMLOPTDOTOPT = ocamlopt.opt
91 OCAMLVERSION = 3.12.1
92 PACKAGE = opam
93 PACKAGE_BUGREPORT =
94 PACKAGE_NAME = opam
95 PACKAGE_STRING = opam 0.5
96 PACKAGE_TARNAME = opam
97 PACKAGE_VERSION = 0.5
98 PATH_SEPARATOR = :
99 SET_MAKE =
100 SHELL = /bin/sh
101 STRIP =
102 VERSION = 0.5
103 abs_builddir = /Users/tgazagna/git/OCamlPro/opam
104 abs_srcdir = /Users/tgazagna/git/OCamlPro/opam
105 abs_top_builddir = /Users/tgazagna/git/OCamlPro/opam
106 abs_top_srcdir = /Users/tgazagna/git/OCamlPro/opam
107 am__leading_dot = .
108 am__tar = ${AMTAR} chof - "$$tardir"
109 am__untar = ${AMTAR} xf -
110 bindir = ${exec_prefix}/bin
111 build_alias =
112 builddir = .
113 datadir = ${datarootdir}
114 datarootdir = ${prefix}/share
115 docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
116 dvidir = ${docdir}
117 exec_prefix = ${prefix}
118 host_alias =
119 htmldir = ${docdir}
120 includedir = ${prefix}/include
121 infodir = ${datarootdir}/info
122 install_sh = $(SHELL) /Users/tgazagna/git/OCamlPro/opam/install-sh
123 libdir = ${exec_prefix}/lib
124 libexecdir = ${exec_prefix}/libexec
125 localedir = ${datarootdir}/locale
126 localstatedir = ${prefix}/var
127 mandir = ${datarootdir}/man
128 mkdir_p = $(top_builddir)/./install-sh -c -d
129 oldincludedir = /usr/include
130 pdfdir = ${docdir}
131 prefix = /Users/tgazagna/bar
132 program_transform_name = s,x,x,
133 psdir = ${docdir}
134 sbindir = ${exec_prefix}/sbin
135 sharedstatedir = ${prefix}/com
136 srcdir = .
137 sysconfdir = ${prefix}/etc
138 target_alias =
139 top_builddir = .
140 top_srcdir = .
141 ACLOCAL_AMFLAGS = -I m4
142 LOCAL_OCPBUILD = ./ocp-build/ocp-build
143 SRC_EXT = src_ext
f09920f @samoht Start fixing the converter from 0.3 to 0.4
samoht authored
144 TARGETS = opam opam-mk-repo opam-repo-convert-0.3
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
145 PRODUCT_VERSION = $(shell grep "let version" src/globals.ml | cut -f 2 -d \")
146 all: all-am
147
148 .SUFFIXES:
149 am--refresh:
150 @:
151 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
152 @for dep in $?; do \
153 case '$(am__configure_deps)' in \
154 *$$dep*) \
155 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
156 cd $(srcdir) && $(AUTOMAKE) --foreign \
157 && exit 0; \
158 exit 1;; \
159 esac; \
160 done; \
161 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
162 cd $(top_srcdir) && \
163 $(AUTOMAKE) --foreign Makefile
164 .PRECIOUS: Makefile
165 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
166 @case '$?' in \
167 *config.status*) \
168 echo ' $(SHELL) ./config.status'; \
169 $(SHELL) ./config.status;; \
170 *) \
171 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
172 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
173 esac;
174
175 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
176 $(SHELL) ./config.status --recheck
177
178 $(top_srcdir)/configure: $(am__configure_deps)
179 cd $(srcdir) && $(AUTOCONF)
180 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
181 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
182 tags: TAGS
183 TAGS:
184
185 ctags: CTAGS
186 CTAGS:
187
188
189 distdir: $(DISTFILES)
190 $(am__remove_distdir)
191 test -d $(distdir) || mkdir $(distdir)
192 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
193 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
194 list='$(DISTFILES)'; \
195 dist_files=`for file in $$list; do echo $$file; done | \
196 sed -e "s|^$$srcdirstrip/||;t" \
197 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
198 case $$dist_files in \
199 */*) $(MKDIR_P) `echo "$$dist_files" | \
200 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
201 sort -u` ;; \
202 esac; \
203 for file in $$dist_files; do \
204 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
205 if test -d $$d/$$file; then \
206 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
207 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
208 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
209 fi; \
210 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
211 else \
212 test -f $(distdir)/$$file \
213 || cp -p $$d/$$file $(distdir)/$$file \
214 || exit 1; \
215 fi; \
216 done
217 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
218 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
219 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
220 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
221 || chmod -R a+r $(distdir)
222 dist-gzip: distdir
223 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
224 $(am__remove_distdir)
225
226 dist-bzip2: distdir
227 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
228 $(am__remove_distdir)
229
230 dist-tarZ: distdir
231 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
232 $(am__remove_distdir)
233
234 dist-shar: distdir
235 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
236 $(am__remove_distdir)
237
238 dist-zip: distdir
239 -rm -f $(distdir).zip
240 zip -rq $(distdir).zip $(distdir)
241 $(am__remove_distdir)
242
243 dist dist-all: distdir
244 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
245 $(am__remove_distdir)
246
247 # This target untars the dist file and tries a VPATH configuration. Then
248 # it guarantees that the distribution is self-contained by making another
249 # tarfile.
250 distcheck: dist
251 case '$(DIST_ARCHIVES)' in \
252 *.tar.gz*) \
253 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
254 *.tar.bz2*) \
255 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
256 *.tar.Z*) \
257 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
258 *.shar.gz*) \
259 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
260 *.zip*) \
261 unzip $(distdir).zip ;;\
262 esac
263 chmod -R a-w $(distdir); chmod a+w $(distdir)
264 mkdir $(distdir)/_build
265 mkdir $(distdir)/_inst
266 chmod a-w $(distdir)
267 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
268 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
269 && cd $(distdir)/_build \
270 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
271 $(DISTCHECK_CONFIGURE_FLAGS) \
272 && $(MAKE) $(AM_MAKEFLAGS) \
273 && $(MAKE) $(AM_MAKEFLAGS) dvi \
274 && $(MAKE) $(AM_MAKEFLAGS) check \
275 && $(MAKE) $(AM_MAKEFLAGS) install \
276 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
277 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
278 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
279 distuninstallcheck \
280 && chmod -R a-w "$$dc_install_base" \
281 && ({ \
282 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
283 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
284 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
285 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
286 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
287 } || { rm -rf "$$dc_destdir"; exit 1; }) \
288 && rm -rf "$$dc_destdir" \
289 && $(MAKE) $(AM_MAKEFLAGS) dist \
290 && rm -rf $(DIST_ARCHIVES) \
291 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
292 $(am__remove_distdir)
293 @(echo "$(distdir) archives ready for distribution: "; \
294 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
295 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
296 distuninstallcheck:
297 @cd $(distuninstallcheck_dir) \
298 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
299 || { echo "ERROR: files left after uninstall:" ; \
300 if test -n "$(DESTDIR)"; then \
301 echo " (check DESTDIR support)"; \
302 fi ; \
303 $(distuninstallcheck_listfiles) ; \
304 exit 1; } >&2
305 distcleancheck: distclean
306 @if test '$(srcdir)' = . ; then \
307 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
308 exit 1 ; \
309 fi
310 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
311 || { echo "ERROR: files left in build directory after distclean:" ; \
312 $(distcleancheck_listfiles) ; \
313 exit 1; } >&2
314 check-am: all-am
315 check: check-am
316 all-am: Makefile
317 installdirs:
318 install-exec: install-exec-am
319 install-data: install-data-am
320
321 install-am: all-am
322 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
323
324 installcheck: installcheck-am
325 install-strip:
326 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
327 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
328 `test -z '$(STRIP)' || \
329 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
330 mostlyclean-generic:
331
332 clean-generic:
333
334 distclean-generic:
335 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
336
337 maintainer-clean-generic:
338 @echo "This command is intended for maintainers to use"
339 @echo "it deletes files that may require special tools to rebuild."
340 clean-am: clean-generic mostlyclean-am
341
342 distclean-am: clean-am distclean-generic
343
344 dvi: dvi-am
345
346 dvi-am:
347
348 html: html-am
349
350 info: info-am
351
352 info-am:
353
354 install-data-am:
355
356 install-dvi: install-dvi-am
357
358 install-exec-am:
359
360 install-html: install-html-am
361
362 install-info: install-info-am
363
364 install-man:
365
366 install-pdf: install-pdf-am
367
368 install-ps: install-ps-am
369
370 installcheck-am:
371
372 maintainer-clean: maintainer-clean-am
373 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
374 -rm -rf $(top_srcdir)/autom4te.cache
375 -rm -f Makefile
376 maintainer-clean-am: distclean-am maintainer-clean-generic
377
378 mostlyclean: mostlyclean-am
379
380 mostlyclean-am: mostlyclean-generic
381
382 pdf: pdf-am
383
384 pdf-am:
385
386 ps: ps-am
387
388 ps-am:
389
390 uninstall-am:
391
392 .MAKE: install-am install-strip
393
394 .PHONY: all all-am am--refresh check check-am clean clean-generic dist \
395 dist-all dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip \
396 distcheck distclean distclean-generic distcleancheck distdir \
397 distuninstallcheck dvi dvi-am html html-am info info-am \
398 install install-am install-data install-data-am install-dvi \
399 install-dvi-am install-exec install-exec-am install-html \
400 install-html-am install-info install-info-am install-man \
401 install-pdf install-pdf-am install-ps install-ps-am \
402 install-strip installcheck installcheck-am installdirs \
403 maintainer-clean maintainer-clean-generic mostlyclean \
404 mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
405
406 OCPBUILD ?= $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
407
408 .PHONY: all
409
7f7724c @samoht Add a basic META.in file
samoht authored
410 all: $(LOCAL_OCPBUILD) META
061a376 @samoht [build] fix build to use the latest version of ocaml-re
samoht authored
411 $(MAKE) clone
412 $(MAKE) compile
750fc50 @samoht Add a first build skeleton
samoht authored
413
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
414 scan: $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
415 $(OCPBUILD) -scan
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
416 sanitize: $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
417 $(OCPBUILD) -sanitize
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
418 byte: $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
419 $(OCPBUILD) -byte
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
420 opt: $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
421 $(OCPBUILD) -asm
9948172 @samoht add str.cma to unixrun (useful to bootstrap ocp-get, as dose and cudf ar...
samoht authored
422
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
423 $(LOCAL_OCPBUILD): ocp-build/ocp-build.boot ocp-build/win32_c.c
424 $(MAKE) -C ocp-build
750fc50 @samoht Add a first build skeleton
samoht authored
425
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
426 compile: $(LOCAL_OCPBUILD)
750fc50 @samoht Add a first build skeleton
samoht authored
427 $(OCPBUILD) -init -scan -sanitize $(TARGET)
428
8d1116a ocp-build: update with most recent version
Fabrice Le Fessant authored
429 clone:
cef3112 @cago Moved external source in src_ext/
cago authored
430 $(MAKE) -C $(SRC_EXT)
750fc50 @samoht Add a first build skeleton
samoht authored
431
432 clean:
b1c2162 @samoht Fix Makefile
samoht authored
433 rm -rf _obuild
2c9a85c @samoht More file spliting.
samoht authored
434 rm -rf src/*.annot bat/*.annot
ac99a15 @samoht More WIP ...
samoht authored
435 rm -f opam
b1c2162 @samoht Fix Makefile
samoht authored
436 rm -f ocp-build.*
cef3112 @cago Moved external source in src_ext/
cago authored
437 $(MAKE) -C $(SRC_EXT) clean
794cbf8 ocp-build: remove useless directory boot
Fabrice Le Fessant authored
438 $(MAKE) -C ocp-build clean
750fc50 @samoht Add a first build skeleton
samoht authored
439
cef3112 @cago Moved external source in src_ext/
cago authored
440 distclean: clean
b1c2162 @samoht Fix Makefile
samoht authored
441 rm -f *.tar.gz *.tar.bz2
cef3112 @cago Moved external source in src_ext/
cago authored
442 rm -rf _obuild _build
443 $(MAKE) -C $(SRC_EXT) distclean
7f510c5 @samoht Few makefile tweaks
samoht authored
444
ec59f94 @samoht [tests] make tests should test all the backends
samoht authored
445 .PHONY: tests
446
7f510c5 @samoht Few makefile tweaks
samoht authored
447 tests:
ec59f94 @samoht [tests] make tests should test all the backends
samoht authored
448 $(MAKE) -C tests all
449
450 tests-rsync:
451 $(MAKE) -C tests rsync
f8dc221 @samoht Add --root to ocp-get and ocp-get-server to change the default root path...
samoht authored
452
638dc66 @samoht [build] add make tests-git target
samoht authored
453 tests-git:
454 $(MAKE) -C tests git
d72de1d @samoht More cleanups
samoht authored
455
456 %-install:
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
457 cp _obuild/$*/$*.asm $(prefix)/bin/$*
7f7724c @samoht Add a basic META.in file
samoht authored
458 META: META.in
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
459 sed 's/0.5/$(PRODUCT_VERSION)/g' < $< > $@
7f7724c @samoht Add a basic META.in file
samoht authored
460
d72de1d @samoht More cleanups
samoht authored
461 .PHONY: install
f09920f @samoht Start fixing the converter from 0.3 to 0.4
samoht authored
462 install:
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
463 mkdir -p $(prefix)/bin
f09920f @samoht Start fixing the converter from 0.3 to 0.4
samoht authored
464 $(MAKE) $(TARGETS:%=%-install)
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
465 mkdir -p $(mandir)/man1 && cp doc/man/* $(mandir)/man1
fc51e07 Added man-src, man, and a rule for Makefile
Vincent Bernardoff authored
466
467 uninstall:
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
468 rm -f $(prefix)/bin/opam*
469 rm -f $(mandir)/man1/opam*
e04535c @samoht Add API documentation
samoht authored
470
471 doc: compile
e7eb612 @samoht Move all the doc-related stuff into the same folder
samoht authored
472 mkdir -p doc/html/
e04535c @samoht Add API documentation
samoht authored
473 ocamldoc \
474 -I _obuild/opam-lib -I _obuild/cudf -I _obuild/dose \
475 -I _obuild/bat -I _obuild/unix -I _obuild/extlib \
476 -I _obuild/arg -I _obuild/graph \
0b3eeea @samoht Add a rule in Makefile to remove trailing blank lines in ml/mli
samoht authored
477 src/*.mli -html -d doc/html/
fc51e07 Added man-src, man, and a rule for Makefile
Vincent Bernardoff authored
478 $(MAKE) -C doc/man-src
0b3eeea @samoht Add a rule in Makefile to remove trailing blank lines in ml/mli
samoht authored
479
480 trailing:
481 find src -name "*.ml*" -exec \
482 sed -i xxx -e :a -e "/^\n*$$/{$$d;N;ba" -e '}' {} \;
e7ed16f @samoht Update Makefile
samoht authored
483 find src -name "*xxx" -exec rm {} \;
812e1c9 @samoht [build] use the versions of ocaml-re and ocaml-arg
samoht authored
484
485 archive:
486 echo $(ARCHIVES)
487 $(MAKE) distclean
488 $(MAKE) clone
489 tar cz $(wildcard src_ext/*.tar.gz) > opam-extfiles.1.tar.gz
c226d2c @samoht [build] few tweaks to the autoconf scripts
samoht authored
490 # Tell versions [3.59,3.63) of GNU make to not export all variables.
491 # Otherwise a system limit (for SysV at least) may be exceeded.
492 .NOEXPORT:
Something went wrong with that request. Please try again.