From a492cd1e26c52793d66d3205a8b459bbbcaad440 Mon Sep 17 00:00:00 2001 From: helge Date: Thu, 15 Sep 2005 10:13:37 +0000 Subject: [PATCH] fixed makefiles git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1108 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/WEPrototype/doc/GNUmakefile | 18 ++++++++++ .../WEPrototype/doc/WEPrototypeScript.3 | 34 +++++++++++++++++++ sope-appserver/WEPrototype/fhs.make | 4 +++ 3 files changed, 56 insertions(+) create mode 100644 sope-appserver/WEPrototype/doc/GNUmakefile create mode 100644 sope-appserver/WEPrototype/doc/WEPrototypeScript.3 diff --git a/sope-appserver/WEPrototype/doc/GNUmakefile b/sope-appserver/WEPrototype/doc/GNUmakefile new file mode 100644 index 00000000..f516949a --- /dev/null +++ b/sope-appserver/WEPrototype/doc/GNUmakefile @@ -0,0 +1,18 @@ +# makefile to generate manpages from .api files + +SOPE_ROOT=../../.. + +-include $(SOPE_ROOT)/config.make +include $(SOPE_ROOT)/Version +include ../Version + +API2MAN = ../../NGObjWeb/woapi2man.py +SECTION = 3 + +all :: regenerate + +regenerate :: + for apifile in ../*.api; do \ + OUTFILE="`basename $$apifile | sed s/\\.api/.3/g`"; \ + $(API2MAN) $$apifile $$SECTION $(MAJOR_VERSION) $(MINOR_VERSION) $(SUBMINOR_VERSION) >$$OUTFILE; \ + done diff --git a/sope-appserver/WEPrototype/doc/WEPrototypeScript.3 b/sope-appserver/WEPrototype/doc/WEPrototypeScript.3 new file mode 100644 index 00000000..843e8185 --- /dev/null +++ b/sope-appserver/WEPrototype/doc/WEPrototypeScript.3 @@ -0,0 +1,34 @@ +.TH WEPrototypeScript 3 "September 2005" "SOPE" "SOPE Dynamic Element Reference" +.\" DO NOT EDIT: this file got autogenerated using woapi2man from: +.\" ../WEPrototypeScript.api +.\" +.\" Copyright (C) 2005 SKYRIX Software AG. All rights reserved. +.\" ==================================================================== +.\" +.\" Copyright (C) 2005 SKYRIX Software AG. All rights reserved. +.\" +.\" Check the COPYING file for further information. +.\" +.\" Created with the help of: +.\" http://www.schweikhardt.net/man_page_howto.html +.\" + +.SH NAME +WEPrototypeScript + +.SH SYNOPSIS +.B WEPrototypeScript +{} + +.SH BINDINGS + +.SH BUGS +SOPE related bugs are collected in the OpenGroupware.org Bugzilla: + http://bugzilla.opengroupware.org/ + +.SH AUTHOR +The SOPE community . + +.SH SEE ALSO +.BR sope-ngobjweb-defaults + diff --git a/sope-appserver/WEPrototype/fhs.make b/sope-appserver/WEPrototype/fhs.make index c5ed2134..fc46b8e6 100644 --- a/sope-appserver/WEPrototype/fhs.make +++ b/sope-appserver/WEPrototype/fhs.make @@ -23,10 +23,14 @@ fhs-wox-dirs :: fhs-man-dirs :: $(MKDIRS) $(FHS_MAN_DIR) +ifeq ($(libWEPrototype_HEADER_FILES),) +move-headers-to-fhs :: +else move-headers-to-fhs :: fhs-header-dirs @echo "moving headers to $(FHS_INCLUDE_DIR) .." mv $(GNUSTEP_HEADERS)$(libWEPrototype_HEADER_FILES_INSTALL_DIR)/*.h \ $(FHS_INCLUDE_DIR)$(libWEPrototype_HEADER_FILES_INSTALL_DIR)/ +endif move-libs-to-fhs :: @echo "moving libs to $(FHS_LIB_DIR) .." -- 2.39.5