--- /dev/null
+# 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
--- /dev/null
+.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
+
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) .."