Diff of /debian/rules [69983e] .. [741882] Maximize Restore

  Switch to side-by-side view

--- a/debian/rules
+++ b/debian/rules
@@ -117,7 +117,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp po/*.gmo po/stamp-po
+	rm -f build-stamp configure-stamp po/*.gmo po/stamp-po debian/dh_xine
 	if test -f .noauto; then \
 	    [ ! -f Makefile ] || $(MAKE) distclean; \
 	  else \
@@ -125,7 +125,10 @@
 	  fi
 	dh_clean
 
-install: build
+debian/dh_xine: debian/dh_xine.in
+	sed -e's/@VERSION@/'$(shell dpkg-parsechangelog -c1 | sed -e '/^Version:/! d; s/^.* //; s/-[^-]*$$//')'/' $< >$@
+
+install: build debian/dh_xine
 	dh_testdir
 	dh_testroot
 	dh_clean -k