diff options
author | Olivier Andrieu <oandrieu@gmail.com> | 2003-11-26 19:45:24 +0000 |
---|---|---|
committer | Olivier Andrieu <oandrieu@gmail.com> | 2003-11-26 19:45:24 +0000 |
commit | bd880a0c73e0b4a9a5f0b9191449659d0eec956c (patch) | |
tree | 358d8f00fcd137086d77fa38c0fce1b1c6579ec2 /Makefile | |
parent | 0fc6485df74b218d5579d16121572c5e15bcf8dd (diff) |
added dist Makefile targetcairo-ocaml-0.2
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 |