Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [a6adfd] default Maximize Restore History

* Fix ocaml-gstreamer's make dist

* MAke ocaml-dtools make full compliant :-)

Romain Beauxis Romain Beauxis 2011-10-08

changed liquidsoap/src/outputs/harbor_output.ml
changed liquidsoap/src/tools/harbor.ml
changed ocaml-dtools/configure.ac
changed ocaml-gstreamer/Makefile.in
copied ocaml-dtools/Makefile -> ocaml-dtools/Makefile.in
liquidsoap/src/outputs/harbor_output.ml Diff Switch to side-by-side view
Loading...
liquidsoap/src/tools/harbor.ml Diff Switch to side-by-side view
Loading...
ocaml-dtools/configure.ac Diff Switch to side-by-side view
Loading...
ocaml-gstreamer/Makefile.in Diff Switch to side-by-side view
Loading...
ocaml-dtools/Makefile to ocaml-dtools/Makefile.in
--- a/ocaml-dtools/Makefile
+++ b/ocaml-dtools/Makefile.in
@@ -1,11 +1,12 @@
 # Copyright 2003-2007 Savonet team
 
-SRC=src
-PROGNAME=ocaml-dtools
-DISTFILES = bootstrap CHANGES configure configure.ac \
+SRC := src
+PROGNAME := ocaml-dtools
+DISTFILES := bootstrap CHANGES configure configure.ac \
             COPYING Makefile README m4/*.m4 \
             src/OCamlMakefile src/*Makefile.in src/META.in src/*.ml src/*.mli \
             doc/html
+VERSION := @VERSION@
 
 all:
 	$(MAKE) -C $(SRC)
@@ -35,12 +36,10 @@
 	rm -rf src/doc
 
 dist: doc
-	VERSION="$(shell grep 'AC_INIT' configure.ac)"; \
-		VERSION=`echo "$$VERSION" | sed -e 's/AC_INIT([^,]*, \([^,]*\), .*)/\1/'`; \
-		mkdir $(PROGNAME)-$$VERSION; \
-		cp -R -L --parents $(DISTFILES) $(PROGNAME)-$$VERSION; \
-		tar zcvf $(PROGNAME)-$$VERSION.tar.gz $(PROGNAME)-$$VERSION; \
-		rm -rf $(PROGNAME)-$$VERSION
+	mkdir $(PROGNAME)-$(VERSION)
+	cp -R -L --parents $(DISTFILES) $(PROGNAME)-$(VERSION)
+	tar zcvf ../$(PROGNAME)-$(VERSION).tar.gz $(PROGNAME)-$(VERSION)
+	rm -rf $(PROGNAME)-$(VERSION)
 
 .PHONY: doc