1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
%:
dh $@ --with ruby --buildsystem ruby
override_dh_auto_build:
( cd $(CURDIR)/doc && $(MAKE) && $(MAKE) install )
( cd $(CURDIR)/doc-en && $(MAKE) && $(MAKE) install )
cp -f $(CURDIR)/sample/caption.rb $(CURDIR)/caption.rb.eucjp && \
nkf -w $(CURDIR)/caption.rb.eucjp \
| sed -e 's/euc-jp/utf-8/' > $(CURDIR)/sample/caption.rb
override_dh_installchangelogs:
dh_installchangelogs --all --keep $(CURDIR)/NEWS.en
override_dh_installexamples:
dh_installexamples -Xicon.bmp.gz -Xsample.ttf
override_dh_auto_clean:
dh_auto_clean
-@rm -f $(CURDIR)/*.html
-@rm -f $(CURDIR)/*.rd
-@( cd $(CURDIR)/doc && rm -f *.rd *.html )
-@( cd $(CURDIR)/doc-en && rm -f *.rd *.html )
-@mv -f $(CURDIR)/caption.rb.eucjp $(CURDIR)/sample/caption.rb
|