]> git.saurik.com Git - wxWidgets.git/commitdiff
added -doc package
authorRon Lee <ron@debian.org>
Thu, 17 Feb 2000 19:07:25 +0000 (19:07 +0000)
committerRon Lee <ron@debian.org>
Thu, 17 Feb 2000 19:07:25 +0000 (19:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

debian/changelog
debian/control.in
debian/libwx-doc.dirs [new file with mode: 0644]
debian/libwx-doc.doc-base [new file with mode: 0644]
debian/libwx-doc.docs [new file with mode: 0644]
debian/rules
debian/wx-config.1

index c099b1d9b52c4a0e2b13a649e7a7beb1274e1a4e..ea77d75543b1e17dafacc002e226819aabad4fde 100644 (file)
@@ -1,4 +1,4 @@
-wxwindows (2.1.13) unstable; urgency=low
+wxwindows (2.1.14) unstable; urgency=low
 
   * Repackaged to build from cvs.
 
 
   * Repackaged to build from cvs.
 
index 833884c012ccb1761b2a49a4a2c5b2223cbd161b..164893274eef5a03c2be96be3e84c18510ff38a4 100644 (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.
 
  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.
+
diff --git a/debian/libwx-doc.dirs b/debian/libwx-doc.dirs
new file mode 100644 (file)
index 0000000..c0a85e9
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc-base
diff --git a/debian/libwx-doc.doc-base b/debian/libwx-doc.doc-base
new file mode 100644 (file)
index 0000000..1bb3257
--- /dev/null
@@ -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/*
+
diff --git a/debian/libwx-doc.docs b/debian/libwx-doc.docs
new file mode 100644 (file)
index 0000000..b96b329
--- /dev/null
@@ -0,0 +1,2 @@
+docs/licendoc.txt
+docs/wxWindows-manual.html
index 7c110bb08328c0c1f983f29bc4baee0f73464f5a..f760ecc54fa184006e528882d9783fd630f71fda 100755 (executable)
@@ -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
 # 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
 
 # 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)
 
 
 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
 
 
 debian/control: debian/control.in
@@ -48,13 +49,28 @@ build-gtk-static-stamp:
                && $(MAKE)
        touch $@
 
                && $(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
 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
        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 \
 
 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;
                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
        dh_testdir
        dh_testroot
        dh_clean -k
index 20fcfde7c9e221f7fc80943fa333c0ec80858ca3..07775489bea81dfaa54e62f05fe4edeb9850c65b 100644 (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
 .SH NAME
 wx-config - script to get information about the installed version of wxGTK
 .SH SYNOPSIS