Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
erlang
otp-0006-Do-not-install-nteventlog-and-related-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otp-0006-Do-not-install-nteventlog-and-related-doc-files-on-n.patch of Package erlang
From: Peter Lemenkov <lemenkov@gmail.com> Date: Sat, 19 Jun 2010 09:59:39 +0400 Subject: [PATCH] Do not install nteventlog and related doc-files on non-win32 systems Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> --- lib/os_mon/doc/src/Makefile | 7 ++++++- lib/os_mon/src/Makefile | 11 ++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/os_mon/doc/src/Makefile b/lib/os_mon/doc/src/Makefile index c976574..6267378 100644 --- a/lib/os_mon/doc/src/Makefile +++ b/lib/os_mon/doc/src/Makefile @@ -35,12 +35,17 @@ RELSYSDIR = $(RELEASE_PATH)/lib/$(APPLICATION)-$(VSN) # Target Specs # ---------------------------------------------------- XML_APPLICATION_FILES = ref_man.xml +ifeq ($(findstring win32,$(TARGET)),win32) +NTEVENTLOG_DOCFILE=nteventlog.xml +else +NTEVENTLOG_DOCFILE= +endif XML_REF3_FILES = cpu_sup.xml \ disksup.xml \ memsup.xml \ os_mon_mib.xml \ os_sup.xml \ - nteventlog.xml + $(NTEVENTLOG_DOCFILE) XML_REF6_FILES = os_mon_app.xml diff --git a/lib/os_mon/src/Makefile b/lib/os_mon/src/Makefile index 9a75446..a492a63 100644 --- a/lib/os_mon/src/Makefile +++ b/lib/os_mon/src/Makefile @@ -33,8 +33,13 @@ RELSYSDIR = $(RELEASE_PATH)/lib/os_mon-$(VSN) # ---------------------------------------------------- # Target Specs # ---------------------------------------------------- +ifeq ($(findstring win32,$(TARGET)),win32) +NTEVENTLOG=nteventlog +else +NTEVENTLOG= +endif MODULES= disksup memsup cpu_sup os_mon os_mon_mib os_sup os_mon_sysinfo \ - nteventlog + $(NTEVENTLOG) INCLUDE=../include CSRC=../c_src @@ -78,7 +83,11 @@ docs: # ---------------------------------------------------- $(APP_TARGET): $(APP_SRC) ../vsn.mk +ifeq ($(findstring win32,$(TARGET)),win32) sed -e 's;%VSN%;$(VSN);' $< > $@ +else + sed -e 's;%VSN%;$(VSN);;s;,\s*nteventlog;;' $< > $@ +endif $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk sed -e 's;%VSN%;$(VSN);' $< > $@
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor