[MLton-commit] r4027

Stephen Weeks MLton@mlton.org
Mon, 22 Aug 2005 17:01:41 -0700


Fixed Debian permission problems.  MLton now builds on Debian with no
lintian warnings or errors.


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

U   mlton/trunk/Makefile
U   mlton/trunk/package/debian/rules

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

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2005-08-22 23:05:06 UTC (rev 4026)
+++ mlton/trunk/Makefile	2005-08-23 00:01:39 UTC (rev 4027)
@@ -432,3 +432,4 @@
 		$(CP) $(SRC)/debian/$$f.doc-base $(TDOCBASE)/$$f; \
 	done
 	cd $(TDOC)/ && $(GZIP) changelog changelog.Debian
+	chown -R root.root $(TDOC)

Modified: mlton/trunk/package/debian/rules
===================================================================
--- mlton/trunk/package/debian/rules	2005-08-22 23:05:06 UTC (rev 4026)
+++ mlton/trunk/package/debian/rules	2005-08-23 00:01:39 UTC (rev 4027)
@@ -35,8 +35,9 @@
 binary-arch: build install
 	# dh_installdeb
 	mkdir -p $(BUILDDIR)/DEBIAN
-	for f in postinst prerm; do \
-		$(CP) debian/mlton.$$f $(BUILDDIR)/DEBIAN/$$f; \
+	for f in postinst prerm; do 				\
+		$(CP) debian/mlton.$$f $(BUILDDIR)/DEBIAN/$$f;	\
+		chown root.root $(BUILDDIR)/DEBIAN/$$f;		\
 	done
 	# dh_shlibdeps
 	dpkg-shlibdeps \