aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-19 02:28:16 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-19 02:28:16 +0100
commit34eb0d9bb4b92c318e0ac3e05a76b47dd070d0f9 (patch)
tree32d2ce0fd3c87c3159b009ccf2bf633ac9dcb78d /Makefile.in
parentadd code (diff)
downloadsleeping-getty-34eb0d9bb4b92c318e0ac3e05a76b47dd070d0f9.tar.gz
sleeping-getty-34eb0d9bb4b92c318e0ac3e05a76b47dd070d0f9.tar.bz2
sleeping-getty-34eb0d9bb4b92c318e0ac3e05a76b47dd070d0f9.tar.xz
add support in make files for sbin and libexec
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 1f35660..a15afba 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -56,10 +56,11 @@ _VERSION = 1.0
# Used by mk/lang-c.mk
_C_STD = c99
_PEDANTIC = yes
-_BIN = sleeping-getty
+_SBIN = sleeping-getty
_OBJ_sleeping-getty = sleeping-getty
_HEADER_DIRLEVELS = 0
_CPPFLAGS = -D'PACKAGE="$(PKGNAME)"' -D'PROGRAM_VERSION="$(_VERSION)"'
+_BINDIR = SBINDIR
# Used by mk/texinfo.mk
_TEXINFO_DIRLEVELS = 2
@@ -81,7 +82,7 @@ ___EVERYTHING_INFO = sleeping-getty titlepage-data content hardcopy-copying \
chap/invoking chap/overview \
reusable/macros reusable/paper reusable/titlepage
___EVERYTHING_H = common
-_SRC = $(foreach B,$(_BIN),$(foreach F,$(_OBJ_$(B)),$(F).c))
+_SRC = $(foreach B,$(_SBIN),$(foreach F,$(_OBJ_$(B)),$(F).c))
_EVERYTHING = $(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo) \
$(foreach F,$(___EVERYTHING_H),src/$(F).h) \
$(__EVERYTHING_ALL_COMMON) DEPENDENCIES INSTALL NEWS