X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2FMakefile.am;h=87ae049e5978816e9c06e0eeaa51362d08ae6da7;hb=8b5a616b31681a57ef625ee13e1e56e2955e3403;hp=fed2326cb19773bc3cdedc4d6a96305d8e2d636b;hpb=89bd8afdb84c580f11126c2b0da85e575c3d8d30;p=chaz%2Fopenbox diff --git a/util/epist/Makefile.am b/util/epist/Makefile.am index fed2326c..87ae049e 100644 --- a/util/epist/Makefile.am +++ b/util/epist/Makefile.am @@ -1,10 +1,16 @@ # util/epist/Makefile.am for Blackbox - an X11 Window manager -CPPFLAGS= @CPPFLAGS@ @DEBUG@ +DEFAULT_RC=$(pkgdatadir)/epistrc + +CLEANFILES = epist.1 epistrc.5 + +CPPFLAGS= @CPPFLAGS@ @DEBUG@ -DDEFAULTRC=\"$(DEFAULT_RC)\" #EXTRA_PROGRAMS = epist bin_PROGRAMS = epist +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 epist_LDADD = ../../src/XAtom.o ../../src/BaseDisplay.o \ ../../src/Util.o ../../src/i18n.o ../../src/Timer.o \ @@ -17,6 +23,21 @@ 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) + +uninstall-am: + rm -f $(DESTDIR)$(pkgdatadir)/epistrc + # local dependencies actions.o: actions.cc actions.hh