[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Bug#383509: octave-epstk: FTBFS: Missing Build-Depends on 'gs-common'



* Thomas Weber <thomas.weber.mail@gmail.com> [2006-08-17 22:32]:

> I've got a question: the inclusion of the demo files (eps, ppm) makes
> the package a lot bigger 
> 
> .deb:
> former: ~ 2 MB, now ~ 6.5 MB
> 
> installed:
> former: ~ 3MB, now ~ 12 MB
> 
> This is after I deleted the temporary files (.eps.tmp, .ppm.tmp). 
> 
> Is this increase in size okay?

The *.eps and *.ppm files should not be included in the binary package.
This was a mistake of mine.  Please apply the patch attached below or
something similar.

Thanks,

-- 
Rafael
Index: rules
===================================================================
--- rules	(revision 709)
+++ rules	(working copy)
@@ -6,6 +6,11 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
+CLEAN_DEMOS := 							\
+	( cd m ; 						\
+	  rm -f *-center.psd *.eps *.tmp img* myNewSymbol.psd	\
+		demo*.ppm demo*.jpg demo_* )
+
 # Poor man's "make check"
 build/octave-epstk:: build-stamp
 build-stamp:
@@ -17,6 +22,7 @@
 			edemos;'					\
 			| octave$$v -qf ) ;				\
 	done
+	$(CLEAN_DEMOS)
 	touch build-stamp
 
 install/octave-epstk::
@@ -24,9 +30,8 @@
 
 clean::
 	rm -f build-stamp
-	( cd m ; 						\
-	  rm -f *-center.psd *.eps *.tmp img* myNewSymbol.psd	\
-		demo*.ppm demo*.jpg demo_* )
+	$(CLEAN_DEMOS)
 
 
 
+

Reply to: