diff options
-rw-r--r-- | Makefile.am | 25 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 21 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index ccb3947..b371a4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,12 +24,27 @@ bin_PROGRAMS = beforelight beforelight_CFLAGS = $(DEP_CFLAGS) beforelight_LDADD = $(DEP_LIBS) -beforelight_SOURCES = \ - b4light.c +beforelight_SOURCES = \ + b4light.c \ + config.h dist_man_MANS = \ - b4light.man + b4light.man -app_defaultdir = $(sysconfdir)/X11/app-defaults +# App default files (*.ad) + +appdefaultdir = $(sysconfdir)/X11/app-defaults + +EXTRA_DIST = \ + B4light.ad + +APPDEFAULTFILES = \ + B4light + +$(APPDEFAULTFILES): %: %.ad + cp $< $@ + +appdefault_DATA = $(APPDEFAULTFILES) + +CLEANFILES = $(APPDEFAULTFILES) -dist_app_default_DATA = B4light.ad diff --git a/configure.ac b/configure.ac index 534eb62..23af480 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_PROG_CC AC_PROG_INSTALL # Checks for pkg-config packages -PKG_CHECK_MODULES(DEP, x11 xt xscrnsaver) +PKG_CHECK_MODULES(DEP, x11 xscrnsaver xt) AC_SUBST(DEP_CFLAGS) AC_SUBST(DEP_LIBS) |