File build.patch of Package fonts-thai
Index: thaifonts-scalable-0.4.13/Makefile.in =================================================================== --- thaifonts-scalable-0.4.13.orig/Makefile.in +++ thaifonts-scalable-0.4.13/Makefile.in @@ -589,36 +589,6 @@ install-data-hook: echo "***" ; \ exit 0; \ fi -@INCLUDE_TTF_TRUE@ mkdir -p $(DESTDIR)$(ttfdir) -@INCLUDE_TTF_TRUE@ cd $(DESTDIR)$(ttfdir); \ -@INCLUDE_TTF_TRUE@ $(TTMKFDIR); \ -@INCLUDE_TTF_TRUE@ $(MKFONTDIR) -@INCLUDE_TTF_TRUE@ $(FCCACHE) -f $(DESTDIR)$(ttfdir) -@INCLUDE_TYPE1_TRUE@ mkdir -p $(DESTDIR)$(type1dir) -@INCLUDE_TYPE1_TRUE@ cd $(DESTDIR)$(type1dir); \ -@INCLUDE_TYPE1_TRUE@ $(TYPE1INST); \ -@INCLUDE_TYPE1_TRUE@ $(MKFONTDIR) -@INCLUDE_TYPE1_TRUE@ $(FCCACHE) -f $(DESTDIR)$(type1dir) -# @if test -z "$(DESTDIR)" ; then \ -#if INCLUDE_TTF -# mkdir -p $(DESTDIR)$(ttfdir); \ -# cd $(DESTDIR)$(ttfdir); \ -# $(ttmkfdir); \ -# $(MKFONTDIR) \ -#endif -#if INCLUDE_TYPE1 -# mkdir -p $(DESTDIR)$(type1dir); \ -# cd $(DESTDIR)$(type1dir); \ -# $(type1inst); \ -# $(MKFONTDIR) \ -#endif -# $(fccache); \ -# @else \ -# echo "***" ; \ -# echo "*** Warning: Seems to be binary package building." ; \ -# echo "*** So, font list/cache is not generated" ; \ -# echo "***" ; \ -# @fi uninstall-hook: @INCLUDE_TTF_TRUE@ $(RM) $(DESTDIR)$(ttfdir)/fonts.cache-1