Remove unused OS_NAME makefile variable

Nothing reads or depends on the OS_NAME variable so just drop it
altogether.
This commit is contained in:
Stefan Gehn 2014-08-23 18:14:47 +02:00
parent b0b6b5d559
commit 534ab2dfa9
2 changed files with 1 additions and 3 deletions

View File

@ -111,13 +111,12 @@ INSTALL ?= $(shell which install)
PKGCONFIGDIR ?= $(INSTALLROOT)/lib/pkgconfig PKGCONFIGDIR ?= $(INSTALLROOT)/lib/pkgconfig
LOCALEDIR ?= $(INSTALLROOT)/share/locale LOCALEDIR ?= $(INSTALLROOT)/share/locale
OS_NAME=$(shell uname -s)
OS_RELEASE=$(shell uname -r) OS_RELEASE=$(shell uname -r)
export SYS_LIBS EXTRAOBJS BINMODE export SYS_LIBS EXTRAOBJS BINMODE
export INSTALLDIR SINSTALLDIR INCLUDEDIR INCLUDEMODE INCLUDEDIRMODE LOCALEDIR export INSTALLDIR SINSTALLDIR INCLUDEDIR INCLUDEMODE INCLUDEDIRMODE LOCALEDIR
export MANDIR SMANDIR MANDIRMODE MANMODE export MANDIR SMANDIR MANDIRMODE MANMODE
export OS_NAME OS_RELEASE export OS_RELEASE
enable_nls=1 enable_nls=1
debug=0 debug=0

View File

@ -67,7 +67,6 @@ ifeq ($(HAVE_GETADDRINFO),1)
FLAGS += -DHAVE_GETADDRINFO FLAGS += -DHAVE_GETADDRINFO
endif endif
OS_NAME=$(shell uname -s)
OS_RELEASE=$(shell uname -r) OS_RELEASE=$(shell uname -r)
OBJS = main.o monitor.o mail.o plugins.o utils.o sysdeps-unix.o log.o OBJS = main.o monitor.o mail.o plugins.o utils.o sysdeps-unix.o log.o