[xml/sgml-commit] r2251 - /packages/word2html/trunk/debian/rules

malat at users.alioth.debian.org malat at users.alioth.debian.org
Mon Apr 7 12:33:49 UTC 2014


Author: malat
Date: Mon Apr  7 12:33:49 2014
New Revision: 2251

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=2251
Log:
add license

Modified:
    packages/word2html/trunk/debian/rules

Modified: packages/word2html/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/word2html/trunk/debian/rules?rev=2251&op=diff
==============================================================================
--- packages/word2html/trunk/debian/rules	(original)
+++ packages/word2html/trunk/debian/rules	Mon Apr  7 12:33:49 2014
@@ -8,13 +8,14 @@
 	install -D -m0755 $(CURDIR)/debian/word2html.sh $(CURDIR)/debian/word2html/usr/bin/word2html
 
 License.txt: wmlview_EULA.rtf
-	unrtf --text $< > $@
+	unrtf --html $< > license.html
+	links -codepage utf8 -dump license.html > $@
 
 override_dh_installdocs: License.txt
 	dh_installdocs -A $<
 
 override_dh_clean:
-	dh_clean License.txt
+	dh_clean license.html
 
 wmlview.exe:
 	wget -c http://download.microsoft.com/download/4/4/d/44d82a6e-9725-4773-aaf6-bb197fc299c7/wmlview.exe
@@ -29,3 +30,4 @@
 	GZIP='--best --no-name' tar cfz word2html_1.0.orig.tar.gz word2html-1.0
 	rm -rf tmp
 	rm -rf word2html-1.0
+	rm wmlview.exe




More information about the debian-xml-sgml-commit mailing list