diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -1,9 +1,19 @@ +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 -all opt doc install clean : - $(MAKE) -C src $@ configure : configure.ac aclocal -I support @@ -12,4 +22,4 @@ config.make : config.make.in configure $(error run ./configure) include config.make -.PHONY : doc +.PHONY : all opt doc install clean |