Quoting Emilien Klein (2012-11-24 21:32:07)
> Hey team,
> 
> 2012/11/20 Emilien Klein <emilien+deb...@klein.st>:
> > What is the best way to automate the repackaging? I've seen some 
> > mentions of `debian/rules get-orig-source`, would you be able to 
> > point me to some good example (I assume inside the js team we have 
> > some good example of exactly this, removing minified files and 
> > repackaging)
> 
> Any example in the packages maintained by the JS team that I could use 
> for inspiration?

Pre-compressed files is wrong of us to ship in binary packages, but are 
ok to ship in source (as long as there is nothing else wrong with is, 
e.g. compiled C code statically linked against possibly badly licensed 
libraries).

I use CDBS, and would do something like this to ensure pre-compressed 
files didn't accidentally end in our binary packages:


include /usr/share/cdbs/1/rules/utils.mk
DEB_UPSTREAM_CRUFT_MOVE = some-compressed-file.js another.js


 - Jonas

Attachment: signature.asc
Description: signature

_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to