diff options
author | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2014-11-13 08:44:57 +0100 |
---|---|---|
committer | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2014-11-13 08:49:37 +0100 |
commit | 26b15684dce6c104d2fb4b8d0da9ec077381c6f4 (patch) | |
tree | 6d7f66d57c8ae157f2f57f43698529510f17b3ed | |
parent | e62330e125dbef47ef4cff1c6c1eaa4d0cfd13e9 (diff) | |
download | setbg-master.tar.gz setbg-master.zip |
-rw-r--r-- | .gitignore | 16 | ||||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rwxr-xr-x | bootstrap | 2 | ||||
-rw-r--r-- | configure.ac | 7 |
5 files changed, 30 insertions, 7 deletions
@@ -1 +1,17 @@ setbg +.deps +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +config.h +config.h.in +config.log +config.status +configure +depcomp +install-sh +missing +*.o +stamp-h1 +compile diff --git a/Makefile b/Makefile deleted file mode 100644 index c1ad25b..0000000 --- a/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -all: setbg - -setbg: setbg.c - gcc -g -Wall -o setbg setbg.c `pkg-config --cflags --libs x11 xinerama gdk-2.0 dconf gio-2.0` - -clean: - rm -f setbg diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..2fa8a31 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,5 @@ +bin_PROGRAMS = setbg +setbg_SOURCES = setbg.c + +AM_CPPFLAGS = $(DEPS_CFLAGS) +setbg_LDADD = $(DEPS_LIBS) diff --git a/bootstrap b/bootstrap new file mode 100755 index 0000000..442cb4f --- /dev/null +++ b/bootstrap @@ -0,0 +1,2 @@ +#!/bin/sh +autoreconf -vi diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..d28fae2 --- /dev/null +++ b/configure.ac @@ -0,0 +1,7 @@ +AC_INIT([setbg], [1.0], [kinote@kinote.org]) +AM_INIT_AUTOMAKE([foreign -Wall -Werror]) +AC_PROG_CC +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_FILES([Makefile]) +PKG_CHECK_MODULES([DEPS], [x11 xinerama gdk-2.0 dconf gio-2.0]) +AC_OUTPUT |