]> err.no Git - sope/commitdiff
fixed makefiles
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 15 Sep 2005 10:13:37 +0000 (10:13 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 15 Sep 2005 10:13:37 +0000 (10:13 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1108 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-appserver/WEPrototype/doc/GNUmakefile [new file with mode: 0644]
sope-appserver/WEPrototype/doc/WEPrototypeScript.3 [new file with mode: 0644]
sope-appserver/WEPrototype/fhs.make

diff --git a/sope-appserver/WEPrototype/doc/GNUmakefile b/sope-appserver/WEPrototype/doc/GNUmakefile
new file mode 100644 (file)
index 0000000..f516949
--- /dev/null
@@ -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 (file)
index 0000000..843e818
--- /dev/null
@@ -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 <developer at opengroupware.org>.
+
+.SH SEE ALSO
+.BR sope-ngobjweb-defaults
+
index c5ed21345637b79f19903eb084e2d6480bd035b0..fc46b8e6d63a9239c3eaeebb75342cd9c61e8ee3 100644 (file)
@@ -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) .."