diff options
author | Kevin E Martin <kem@kem.org> | 2005-07-02 21:42:05 +0000 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-02-18 17:45:28 -0800 |
commit | fa554ab53809943cb141e07687c96364d91e3f9c (patch) | |
tree | 5b1f4ddbc2e087d524d6e72aad3b295695e74bca | |
parent | c40a94766668aad01ef57eea181752a370762cd0 (diff) |
mkfontdir: Add build system for bdftopcf, mkfontdir and mkfontscale
-rw-r--r-- | Makefile.am | 11 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 90315ee..a589208 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,15 @@ SUBDIRS = man bin_PROGRAMS = mkfontscale +bin_SCRIPTS = mkfontdir + +dist_man1_MANS = mkfontdir.man + +mkfontdir: mkfontdir.cpp + $(SED) s,BINDIR,`echo $(MKFONTSCALE) | $(SED) s,/[^/]*$$,,`, < $< | $(SED) s/XCOMM/\#/ > $@ + +EXTRA_DIST = mkfontdir.cpp +CLEANFILES = $(bin_SCRIPTS) AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE AM_CFLAGS = $(CWARNFLAGS) @@ -58,4 +67,4 @@ lint: $(LINT) $(ALL_LINT_FLAGS) $(mkfontscale_SOURCES) endif LINT -EXTRA_DIST = README.md +EXTRA_DIST += README.md diff --git a/configure.ac b/configure.ac index ee427ed..8e8401e 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,10 @@ PKG_CHECK_MODULES(X11, [xproto >= 7.0.25]) dnl Allow checking code with lint, sparse, etc. XORG_WITH_LINT +dnl From mkfontdir/configure.ac +AC_PATH_PROG(SED, sed) +AC_PATH_PROG(MKFONTSCALE, mkfontscale) + AC_CONFIG_FILES([ Makefile man/Makefile]) |