X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2FMakefile.am;h=20e3ceee2d6cf5f2b946be7e38288ce3ba62f33d;hb=53b6f16b4601a3cdf2adca41fbae9c76a3b3c1f1;hp=ac2120cf85d292a3fed71ba6d36e4431cdde5be8;hpb=544da8c704c14f2fd2533711dbf710c34d873e32;p=chaz%2Fopenbox diff --git a/util/epist/Makefile.am b/util/epist/Makefile.am index ac2120cf..20e3ceee 100644 --- a/util/epist/Makefile.am +++ b/util/epist/Makefile.am @@ -2,12 +2,16 @@ DEFAULT_RC=$(pkgdatadir)/epistrc +CLEANFILES = epist.1 epistrc.5 + CPPFLAGS= @CPPFLAGS@ @DEBUG@ -DDEFAULTRC=\"$(DEFAULT_RC)\" #EXTRA_PROGRAMS = epist bin_PROGRAMS = epist -epist_SOURCES = epist.cc window.cc screen.cc main.cc actions.cc yacc_parser.cc parser.cc keytree.cc lex.yy.c +man_MANS = epist.1 epistrc.5 + +epist_SOURCES = epist.cc window.cc screen.cc main.cc actions.cc yacc_parser.cc parser.cc keytree.cc lex.yy.c config.cc epist_LDADD = ../../src/XAtom.o ../../src/BaseDisplay.o \ ../../src/Util.o ../../src/i18n.o ../../src/Timer.o \ ../../src/GCCache.o ../../src/Color.o @@ -19,6 +23,14 @@ MAINTAINERCLEANFILES = Makefile.in distclean-local: rm -f *\~ .\#* +epist.1: epist.1.in + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \ + epist.1.in > epist.1 + +epistrc.5: epistrc.5.in + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \ + epistrc.5.in > epistrc.5 + install-data-local: epistrc test -f $(DESTDIR)$(pkgdatadir)/epistrc || \ $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir) @@ -45,7 +57,10 @@ screen.o: screen.cc ../../src/BaseDisplay.hh ../../src/Timer.hh \ window.o: window.cc epist.hh actions.hh window.hh ../../src/Util.hh \ keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \ ../../src/XAtom.hh +config.o: config.cc config.hh ../../src/Util.hh \ + keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \ + ../../src/XAtom.hh yacc_parser.cc: epist.y - yacc -d epist.y -o yacc_parser.cc + bison -d epist.y -o yacc_parser.cc lex.yy.c: epist.l lex epist.l