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

Modified Files:
        rules 
Log Message:
In clean target, fix removal of files in ooo-build/test to not nuke the
CVS files too


Index: rules
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/rules,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- rules       20 Apr 2004 16:00:55 -0000      1.198
+++ rules       20 Apr 2004 16:17:15 -0000      1.199
@@ -353,8 +353,11 @@
                $(OOO_BUILD)/www/l10n/*.gif \
                $(OOO_BUILD)/src/open*bmp
 
-       if [ -d $(OOO_BUILD)/test ]; then cd $(OOO_BUILD)/test && \
-               find . -type f | xargs rm -f; fi
+       if [ -d $(OOO_BUILD)/test ]; then \
+               find $(OOO_BUILD)/test -type f \
+                    \( -name '*.xls' -o -name '*.sx?' -o -name '*.doc' \) \
+                    -exec rm {} \; ;\
+       fi
 
        cd $(SOURCE_TREE)/config_office && \
                rm -f config.cache config.log \

Reply via email to