Update of /cvs/debian-openoffice/oo-deb/debian
In directory gluck:/tmp/cvs-serv937

Modified Files:
        rules 
Log Message:
uuencode Ximian opens___.ttf during clean, and uudecode it in build.prepare
to work around ascii-only limitation of dpkg-source


Index: rules
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/rules,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- rules       17 Nov 2003 11:54:11 -0000      1.168
+++ rules       17 Nov 2003 14:37:35 -0000      1.169
@@ -357,6 +357,13 @@
        find helpcontent/unx sysui/desktop -name "delzip" -exec rm {} \;
 
        rm -f desktop/source/icons/*.xpm
+
+       # uuencode OpenSymbol font
+       if [ -f $(OOO_BUILD)/fonts/opens___.ttf ]; then \
+         uuencode $(OOO_BUILD)/fonts/opens___.ttf opens___.ttf \
+           > $(OOO_BUILD)/fonts/opens___.ttf.uu ;\
+       fi
+       rm -f $(OOO_BUILD)/fonts/opens___.ttf $(OOO_BUILD)/fonts/symbols.xls
        
        dh_clean
 
@@ -493,6 +500,12 @@
        cd $(SOURCE_TREE)/dmake && \
          autoconf
 endif
+
+        # uudecode OpenSymbol font
+       if [ ! -f $(OOO_BUILD)/fonts/opens___.ttf ]; then \
+         uudecode $(OOO_BUILD)/fonts/opens___.ttf.uu \
+           > $(OOO_BUILD)/fonts/opens___.ttf ;\
+       fi
 
        touch $@
 

Reply via email to