summaryrefslogtreecommitdiff
path: root/util/epist/Makefile.am
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-16 03:28:20 +0000
committerDana Jansens <danakj@orodu.net>2002-08-16 03:28:20 +0000
commit544da8c704c14f2fd2533711dbf710c34d873e32 (patch)
tree4b85d3e549a76265cb98ddd63a75a0bd298cd057 /util/epist/Makefile.am
parent13cf497f83b3f37df2d044bd138db9f776a077f1 (diff)
set up a default rc file, and change teh user rc to ~./openbox/epistrc
Diffstat (limited to 'util/epist/Makefile.am')
-rw-r--r--util/epist/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/epist/Makefile.am b/util/epist/Makefile.am
index fed2326c..ac2120cf 100644
--- a/util/epist/Makefile.am
+++ b/util/epist/Makefile.am
@@ -1,6 +1,8 @@
# util/epist/Makefile.am for Blackbox - an X11 Window manager
-CPPFLAGS= @CPPFLAGS@ @DEBUG@
+DEFAULT_RC=$(pkgdatadir)/epistrc
+
+CPPFLAGS= @CPPFLAGS@ @DEBUG@ -DDEFAULTRC=\"$(DEFAULT_RC)\"
#EXTRA_PROGRAMS = epist
bin_PROGRAMS = epist
@@ -17,6 +19,13 @@ MAINTAINERCLEANFILES = Makefile.in
distclean-local:
rm -f *\~ .\#*
+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