blob: 52a7e1edcb98938023442508fb6d9b26959ef25f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
all opt doc install clean :
$(MAKE) -C src $@
VERSION = 0.2
DISTSRC = aclocal.m4 config.make.in configure configure.ac Makefile Makefile.rules \
doc support/install-sh 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
|