From d9858da0d479694416a830af55b8873b81dafb74 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Tue, 20 Dec 2011 17:33:51 +0400 Subject: [PATCH] change default installation path for yasnd binary to /sbin --- Makefile.am | 2 +- configure.ac | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index f2460c2..477040b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ INCLUDES=${gammu_CFLAGS} yasnd_LDADD = ${libconfuse_LIBS} yasnd_LDADD += ${gammu_LIBS} -bin_PROGRAMS = yasnd +sbin_PROGRAMS = yasnd yasnd_SOURCES = yasnd.c yasnd-gammu.c yasnd-ipc.c distclean-local: diff --git a/configure.ac b/configure.ac index 3224829..ab94774 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,9 @@ AC_CONFIG_HEADERS([config.h]) AC_LANG([C]) AM_INIT_AUTOMAKE +# Default prefix for installation +AC_PREFIX_DEFAULT() + # Checks for programs. AC_PROG_CC_C99