File: Makefile

package info (click to toggle)
cairo-ocaml 20070908-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 412 kB
  • ctags: 905
  • sloc: ml: 2,020; ansic: 1,632; sh: 206; makefile: 195
file content (24 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

all opt doc install clean :
	$(MAKE) -C src $@


DISTSRC = aclocal.m4 config.make.in configure configure.ac Makefile Makefile.rules \
          doc support/install-sh support/ocaml.m4 \
          src/*.ml src/*.mli src/*.c src/*.h src/Makefile src/.depend_c \
          test/Makefile test/*.ml
dist : doc
	export DIRNAME=$${PWD##*/} && \
	cd .. && mv $$DIRNAME cairo-ocaml-$(VERSION) && \
	tar zcvf cairo-ocaml-$(VERSION).tar.gz $(addprefix cairo-ocaml-$(VERSION)/,$(DISTSRC)) && \
        mv cairo-ocaml-$(VERSION) $$DIRNAME


configure : configure.ac
	aclocal -I support
	autoconf
config.make : config.make.in configure
	$(error run ./configure)
include config.make

.PHONY : all opt doc install clean