Makefile.am 901 B

123456789101112131415161718192021222324252627282930313233343536
  1. MAINTAINERCLEANFILES = Makefile.in
  2. fontaliasesconfdir = $(sysconfdir)/$(PACKAGE_TARNAME)/fontaliases
  3. fontaliasesdatadir = $(pkgdatadir)/fontaliases
  4. BUILT_SOURCES = dtinfo.pcf.gz fixed.alias mixed.alias fonts.dir
  5. fontaliasesdata_DATA = $(BUILT_SOURCES)
  6. CLEANFILES = $(BUILT_SOURCES)
  7. mk_fonts_alias_SOURCES = mk_fonts_alias.c
  8. test_fonts_alias_SOURCES = test_fonts_alias.c
  9. test_fonts_alias_LDADD = $(XTOOLLIB)
  10. noinst_PROGRAMS = mk_fonts_alias test_fonts_alias
  11. if MISC_FIXED
  12. FONTS_ALIAS = fixed.alias
  13. else
  14. FONTS_ALIAS = mixed.alias
  15. endif
  16. dtinfo.pcf.gz: dtinfo.bdf
  17. $(RM) $@
  18. $(BDFTOPCF) -t $< |$(GZIP) > $@
  19. fixed.alias: mk_fonts_alias
  20. ./$< > $@
  21. mixed.alias: mk_fonts_alias
  22. ./$< 1 > $@
  23. fonts.dir: dtinfo.pcf.gz
  24. $(MKFONTDIR) -x bdf .
  25. install-data-hook:
  26. $(MKDIR_P) $(DESTDIR)$(fontaliasesconfdir)
  27. $(CP) $(DESTDIR)$(fontaliasesdatadir)/$(FONTS_ALIAS) $(DESTDIR)$(fontaliasesconfdir)/fonts.alias