[MLton-commit] r7273

Wesley Terpstra wesley at mlton.org
Thu Oct 15 12:28:55 PDT 2009


Get the version out of the changelog


----------------------------------------------------------------------

U   mlton/trunk/package/debian/changelog
U   mlton/trunk/package/debian/rules

----------------------------------------------------------------------

Modified: mlton/trunk/package/debian/changelog
===================================================================
--- mlton/trunk/package/debian/changelog	2009-10-15 19:17:55 UTC (rev 7272)
+++ mlton/trunk/package/debian/changelog	2009-10-15 19:28:54 UTC (rev 7273)
@@ -1,3 +1,12 @@
+mlton (20091015) unstable; urgency=low
+
+  * Rebuild proper packages using the buildd
+  * Added mips and mipsel architectures (bootstrap already uploaded)
+  * Switch to debian native version numbers
+  * Base the MLton version on the changelog
+
+ -- Wesley W. Terpstra (Debian) <terpstra at debian.org>  Thu, 15 Oct 2009 21:09:17 +0200
+
 mlton (20091013-1) unstable; urgency=low
 
   * New maintainer

Modified: mlton/trunk/package/debian/rules
===================================================================
--- mlton/trunk/package/debian/rules	2009-10-15 19:17:55 UTC (rev 7272)
+++ mlton/trunk/package/debian/rules	2009-10-15 19:28:54 UTC (rev 7273)
@@ -1,29 +1,25 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
+VERSION=$(dpkg-parsechangelog  | grep Version | cut -d" " -f2)
 CP = cp -fpR
 
 configure: configure-stamp
 configure-stamp:
-	# Add here commands to configure the package.
+	make VERSION=$(VERSION) RELEASE=1 version
 	touch configure-stamp
 
 build: configure-stamp build-stamp
 build-stamp:
-	# Add here commands to compile the package.
 	$(MAKE)
-	#/usr/bin/docbook-to-man debian/mlton.sgml > mlton.1
+	./bin/regression
 	touch build-stamp
 
 clean:
 	rm -f build-stamp configure-stamp
-	# Add here commands to clean up after the build process.
 	$(MAKE) clean
 
 BUILDDIR = $(CURDIR)/debian/mlton
 install: build
-	# Add here commands to install the package into debian/mlton.
 	$(MAKE) install post-install-debian DESTDIR=$(BUILDDIR) \
 		MAN_PREFIX_EXTRA=/share
 




More information about the MLton-commit mailing list