[cairo-commit] cairo-ocaml Makefile,1.1.1.1,1.2 config.make.in,1.1.1.1,1.2

Olivier Andrieu commit at pdx.freedesktop.org
Wed Nov 26 11:45:26 PST 2003


Committed by: oandrieu

Update of /cvs/cairo/cairo-ocaml
In directory pdx:/tmp/cvs-serv25076

Modified Files:
	Makefile config.make.in 
Log Message:
added dist Makefile target

Index: Makefile
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** Makefile	18 Nov 2003 19:02:24 -0000	1.1.1.1
--- Makefile	26 Nov 2003 19:45:24 -0000	1.2
***************
*** 1,8 ****
  
  
  
  
- all opt doc install clean :
- 	$(MAKE) -C src $@
  
  configure : configure.ac
--- 1,18 ----
  
+ 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
***************
*** 13,15 ****
  include config.make
  
! .PHONY : doc
--- 23,25 ----
  include config.make
  
! .PHONY : all opt doc install clean

Index: config.make.in
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/config.make.in,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** config.make.in	18 Nov 2003 19:02:24 -0000	1.1.1.1
--- config.make.in	26 Nov 2003 19:45:24 -0000	1.2
***************
*** 25,28 ****
--- 25,29 ----
  
  cobjs     = $(patsubst %.c, %.o, $(filter %.c,$(1)))
+ mlintfs   = $(patsubst %.mli, %.cmi, $(filter %.mli,$(1)))
  mlobjs    = $(patsubst %.ml, %.cmo, $(filter %.ml,$(1)))
  mloptobjs = $(patsubst %.ml, %.cmx, $(filter %.ml,$(1)))





More information about the cairo-commit mailing list