added -doc package

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee
2000-02-17 19:07:25 +00:00
parent 88d3a15cc6
commit f538864d03
7 changed files with 50 additions and 6 deletions

2
debian/changelog vendored
View File

@@ -1,4 +1,4 @@
wxwindows (2.1.13) unstable; urgency=low
wxwindows (2.1.14) unstable; urgency=low
* Repackaged to build from cvs.

11
debian/control.in vendored
View File

@@ -33,3 +33,14 @@ Description: wxWindows Cross-platform C++ GUI toolkit (GTK+ development)
This package provides files needed to compile wxWindows programs. It
includes header files and static libraries.
Package: libwx=V-doc
Architecture: all
Section: doc
Suggests: doc-base, www-browser
Description: wxWindows Cross-platform C++ GUI toolkit (documentation)
wxWindows is a class library for C++ providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version 2.1
currently supports subsets of GTK+, Motif, and MS Windows.
.
This package provides a HTML version of the wxWindows reference manual.

1
debian/libwx-doc.dirs vendored Normal file
View File

@@ -0,0 +1 @@
usr/share/doc-base

10
debian/libwx-doc.doc-base vendored Normal file
View File

@@ -0,0 +1,10 @@
Document: wxwindows-manual
Title: wxWindows Progamming Manual
Author: The wxWindows Cabal
Abstract: This manual describes the wxWindows cross-platform GUI toolkit.
Section: Apps/Programming
Format: HTML
Index: /usr/share/doc/libwx2.1-doc/wxWindows-manual.html/wxwin.htm
Files: /usr/share/doc/libwx2.1-doc/wxWindows-manual.html/*

2
debian/libwx-doc.docs vendored Normal file
View File

@@ -0,0 +1,2 @@
docs/licendoc.txt
docs/wxWindows-manual.html

28
debian/rules vendored
View File

@@ -17,6 +17,7 @@ release=2.1
# These are the packages we will build
package_gtk_lib=libwxgtk$(release)
package_gtk_dev=libwxgtk$(release)-dev
package_doc=libwx$(release)-doc
# Dirs to put the various builds object files in
objdir_gtk_shared=objs_gtk_sh
@@ -24,7 +25,7 @@ objdir_gtk_static=objs_gtk_st
objdirs=$(objdir_gtk_shared) $(objdir_gtk_static)
build_stamps=build-gtk-shared-stamp build-gtk-static-stamp
build_stamps=build-gtk-shared-stamp build-gtk-static-stamp build-doc-stamp
debian/control: debian/control.in
@@ -48,13 +49,28 @@ build-gtk-static-stamp:
&& $(MAKE)
touch $@
build-doc-stamp: build-gtk-shared-stamp
dh_testdir
cd $(objdir_gtk_shared)/utils/tex2rtf/src \
&& $(MAKE) \
&& mkdir HTML \
&& ./tex2rtf ../../../../docs/latex/wx/manual.tex HTML/wxwin -twice -html \
&& cp ../../../../docs/latex/wx/*.gif HTML \
&& rm -f *.con \
&& rm -f HTML/wxwin.con HTML/wxwin.hh* HTML/wxwin.htx HTML/wxwin.ref
rm -rf docs/wxWindows-manual.html
mv $(objdir_gtk_shared)/utils/tex2rtf/src/HTML docs/wxWindows-manual.html
touch $@
clean: debian/control
dh_testdir
dh_testroot
-rm -rf $(build_stamps) $(objdirs)
rm -rf $(build_stamps) $(objdirs)
rm -rf docs/wxWindows-manual.html
dh_clean
-rm -f debian/$(package_gtk_lib).*
-rm -f debian/$(package_gtk_dev).*
rm -f debian/$(package_gtk_lib).*
rm -f debian/$(package_gtk_dev).*
rm -f debian/$(package_doc).*
install: build
@for f in dirs docs files postinst; do \
@@ -65,6 +81,10 @@ install: build
echo "generating control file $(package_gtk_dev).$$f"; \
cp debian/libwxgtk-dev.$$f debian/$(package_gtk_dev).$$f; \
done;
@for f in dirs docs doc-base; do \
echo "generating control file $(package_doc).$$f"; \
cp debian/libwx-doc.$$f debian/$(package_doc).$$f; \
done;
dh_testdir
dh_testroot
dh_clean -k

2
debian/wx-config.1 vendored
View File

@@ -1,4 +1,4 @@
.TH wxWindows 1 "15 Feb 2000" "wxGTK 2.1.13"
.TH wxWindows 1 "15 Feb 2000" "wxGTK 2.2"
.SH NAME
wx-config - script to get information about the installed version of wxGTK
.SH SYNOPSIS