debian/0000755000000000000000000000000012256024053007165 5ustar debian/camlidl.dirs.in0000644000000000000000000000003611737634335012076 0ustar usr/bin @OCamlStdlibDir@/caml debian/changelog0000644000000000000000000002017612256024053011045 0ustar camlidl (1.05-14build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 12:10:19 +0000 camlidl (1.05-14) unstable; urgency=low * debian/mk/docbook-manpage.mk: build-arch, not build, must depend on docbook-manpage (closes: #666381) -- Ralf Treinen Fri, 06 Apr 2012 20:41:01 +0200 camlidl (1.05-13) unstable; urgency=low * debian/control: - adapt to new dh-ocaml - move to section ocaml - add myself to Uploaders; remove Remi, Stefano and Sven - remove Conflicts to camlidl-doc (older than oldstable) - add Homepage - update Standards-Version to 3.9.0 * debian/rules: fix order of CDBS includes * Update debian/watch * Switch source package format to 3.0 (quilt) -- Stéphane Glondu Sat, 03 Jul 2010 18:52:05 +0200 camlidl (1.05-12) unstable; urgency=low * Add missing build-dependency on dh-ocaml. -- Samuel Mimram Wed, 25 Feb 2009 18:17:05 +0100 camlidl (1.05-11) unstable; urgency=low [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir [ Stephane Glondu ] * Remove Julien from Uploaders [ Samuel Mimram ] * Rebuild with OCaml 3.11. * Switch packaging to git * Update standards version to 3.8.0. * Update compat to 7. -- Samuel Mimram Tue, 24 Feb 2009 18:17:23 +0100 camlidl (1.05-10) unstable; urgency=low * Build for ocaml 3.10.0 -- Sylvain Le Gall Tue, 04 Sep 2007 00:26:44 +0200 camlidl (1.05-9) experimental; urgency=low * Rebuild for ocaml 3.10.0 -- Sylvain Le Gall Sat, 07 Jul 2007 23:26:24 +0200 camlidl (1.05-8) experimental; urgency=low * Upgrade debian/watch version to 3, * Correct the debian/rules license, * Change email address to gildor@debian.org everywhere * Use DTD from docbook-xml package and not from docbook package -- Sylvain Le Gall Sat, 23 Jun 2007 17:17:08 +0100 camlidl (1.05-7) unstable; urgency=low * Use CDBS for debian/rules, * De-hijack the package, use @OCAML_TEAM@ in control.in, * Upgrade debhelper debian/compat to 5. -- Sylvain Le Gall Sat, 4 Nov 2006 00:11:11 +0100 camlidl (1.05-6) unstable; urgency=low * Hijack the package, with the permission of Debian OCaml Maintainer, * Change my email address to gildor@debian.org, * Set me as only uploaders, * Made debian/control a PHONY target, * Upgrade standards version to 3.7.2 (no change), -- Sylvain Le Gall Tue, 13 Jun 2006 19:05:15 +0200 camlidl (1.05-5) unstable; urgency=low * Rebuild for OCaml 3.09.1 -- Sylvain Le Gall Tue, 10 Jan 2006 23:49:33 +0100 camlidl (1.05-4) unstable; urgency=low * Update for ocaml 3.09, and stop hardcoding the ocaml version number in the source package (Julien Cristau). * Remove direct reference to ocaml library dir * Transition to svn-buildpackage * Add debian/control target in debian/rules * Rewrite patch 37_make to patch config/Makefile.unix rather than config/Makefile and copy this file during the build process -- Sylvain Le Gall Fri, 2 Dec 2005 00:54:19 +0100 camlidl (1.05-3) unstable; urgency=low * Include printexc.h in comerror.c (Closes: #323221). * Upgrade policy to 3.6.2.0 (no change) -- Sylvain Le Gall Mon, 15 Aug 2005 17:35:03 +0200 camlidl (1.05-2) unstable; urgency=medium * Transition to ocaml 3.08.3 : depends on ocaml-nox-3.08.3 -- Sylvain Le Gall Wed, 23 Mar 2005 22:22:41 +0100 camlidl (1.05-1) unstable; urgency=low * New upstream version -- Sylvain LE GALL Tue, 3 Aug 2004 00:20:51 +0200 camlidl (1.04-8) unstable; urgency=low * Renew the watch file * Transition to -nox and ocaml 3.08 : depends on ocaml-nox-3.08 -- Sylvain LE GALL Mon, 26 Jul 2004 23:28:53 +0200 camlidl (1.04-7) unstable; urgency=low * debian/patches/37_make.dpatch - install camlidlruntime.h in ocaml dir since /usr/include/caml is linked to it * debian/control - bumped standards version to 3.6.1.0 -- Stefano Zacchiroli Tue, 11 Nov 2003 18:31:47 +0100 camlidl (1.04-6) unstable; urgency=low * Rebuilt with ocaml 3.07 -- Stefano Zacchiroli Wed, 1 Oct 2003 14:12:59 +0200 camlidl (1.04-5) unstable; urgency=low * Rebuilt with ocaml 3.07beta2 -- Stefano Zacchiroli Mon, 22 Sep 2003 17:34:40 +0200 camlidl (1.04-4) unstable; urgency=low * Switched to dpatch, no more diffs outside debian/ subdirectory: - added build-dep on dpatch - created debian/patches with one patch and the patch list file - changed debian/rules to use dpatch facilities * Moved camlidl under the Debian OCaml Maintainer "umbrella": - changed Maintainer field to Debian OCaml Maintained - added an Uploaders field containing (using debian login name): luther, marant, treinen, vanicat, zack * debian/rules - removed DH_COMPAT variable in favour of debian/compat * debian/control - added ${misc:Depends} to Depends field -- Stefano Zacchiroli Fri, 6 Jun 2003 20:40:47 +0200 camlidl (1.04-3) unstable; urgency=low * Added examples (upstream "tests" dir content) in /usr/share/doc/camlidl/examples (Closes: Bug#187497) * Bumped Standards-Version to 3.5.9 -- Stefano Zacchiroli Tue, 3 Jun 2003 10:54:29 +0200 camlidl (1.04-2) unstable; urgency=low * Bugfix: don't try to install native code libraries if /usr/bin/ocamlopt is not executable -- Stefano Zacchiroli Sat, 15 Mar 2003 13:17:02 +0100 camlidl (1.04-1) unstable; urgency=low * New upstream release * Removed creation of camlidl-doc package, now shipped as an extra package like upstream (Closes: Bug#175438) * Look for ocaml includes in /usr/include/ocaml/3.06 * Installs camlidlruntime.h header in /usr/include/ocaml/3.06/caml -- Stefano Zacchiroli Fri, 7 Mar 2003 15:52:43 +0100 camlidl (1.02-9) unstable; urgency=low * Build camlidl-doc in binary-indep target (Closes: Bug#174383) * Added "Section" for source file -- Stefano Zacchiroli Fri, 27 Dec 2002 16:15:11 +0100 camlidl (1.02-8) unstable; urgency=low * Libdir transition to /usr/lib/ocaml/3.06 * Changed depends and build depends to ocaml{,-base}-3.06-1 * Bumped Standards-Version to 3.5.8 * Better test for /usr/bin/ocamlopt existence * Removed useless targets binary-indep, configure -- Stefano Zacchiroli Mon, 16 Dec 2002 13:27:07 +0100 camlidl (1.02-7) unstable; urgency=low * Rebuilt against ocaml 3.06 * Switched to debhelper 4 * Added deps and build-deps to ocaml-3.06 -- Stefano Zacchiroli Tue, 27 Aug 2002 11:28:48 +0200 camlidl (1.02-6) unstable; urgency=low * Now build depends on ocaml >= 3.04-3, hopefully will compile also on ia64 and powerpc -- Stefano Zacchiroli Fri, 11 Jan 2002 08:05:50 +0100 camlidl (1.02-5) unstable; urgency=low * Changed camlidl-doc architecture to "all". * Built with ocaml 3.04 -- Stefano Zacchiroli Fri, 21 Dec 2001 19:28:20 +0100 camlidl (1.02-4) unstable; urgency=low * Fixed spelling error in description (closes: Bug#124481). -- Stefano Zacchiroli Tue, 18 Dec 2001 13:14:01 +0100 camlidl (1.02-3) unstable; urgency=low * Moved camlidlruntime.h to /usr/include/caml/. -- Stefano Zacchiroli Mon, 3 Dec 2001 23:28:08 +0100 camlidl (1.02-2) unstable; urgency=low * Added conditional compilation of native lib module. (Closes: Bug#121369) -- Stefano Zacchiroli Tue, 27 Nov 2001 12:56:43 +0100 camlidl (1.02-1) unstable; urgency=low * Initial Release. * Adopted package from Georges Mariano that build a preliminary version of this debian package. -- Stefano Zacchiroli Thu, 8 Nov 2001 22:06:03 +0100 debian/META.camlidl.in0000644000000000000000000000022011737634335011656 0ustar # Courtesy of GODI description = "Stub generator" version = "@VERSION@" directory = "^" archive(byte) = "com.cma" archive(native) = "com.cmxa" debian/rules0000755000000000000000000000436311737634335010270 0ustar #!/usr/bin/make -f # debian/rules for camlidl package # Copyright (C) 2006 Sylvain Le Gall # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301, USA. # Generate debian/control using # fakeroot debian/rules debian/control DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/ocaml.mk include /usr/share/cdbs/1/class/makefile.mk include $(CURDIR)/debian/mk/docbook-manpage.mk PACKAGE := camlidl DESTDIR := $(CURDIR)/debian/$(PACKAGE) DEB_MAKE_CLEAN_TARGET := clean DEB_MAKE_BUILD_TARGET := all ifeq ($(OCAML_HAVE_OCAMLOPT),yes) DEB_MAKE_BUILD_TARGET += opt endif DEB_MAKE_INSTALL_TARGET := install DESTDIR="$(DESTDIR)" CDBS_BUILD_DEPENDS := $(subst ocaml-nox,ocaml-nox (>= 3.10.0-8),$(CDBS_BUILD_DEPENDS)) PO4A_SOURCES := $(CURDIR)/debian/xml-man/po4a/po4a.cfg DOCBOOK_MANPAGE_SOURCES := $(CURDIR)/debian/xml-man/en/camlidl.xml DOCBOOK_MANPAGE_EXTRA_SOURCES := $(CURDIR)/debian/xml-man/en/license.xml \ $(CURDIR)/debian/xml-man/en/refentryinfo.xml OCAML_DHOCAML_FLAGS += --runtime-map camlidl clean:: -$(RM) $(CURDIR)/lib/com.cmxa -$(RM) $(CURDIR)/lib/com.a -$(RM) $(CURDIR)/lib/com.o -$(RM) $(CURDIR)/debian/camlidl.dirs -$(RM) $(CURDIR)/debian/camlidl.install -$(RM) $(CURDIR)/debian/META.camlidl -$(RM) $(CURDIR)/config/Makefile -$(RM) $(CURDIR)/debian/xml-man/en/*.1 common-configure-indep common-configure-arch:: cp $(CURDIR)/config/Makefile.unix $(CURDIR)/config/Makefile install/camlidl:: VERSION=$(DEB_NOEPOCH_VERSION); \ VERSION=$${VERSION%%-*}; \ sed -i "s/@VERSION@/$$VERSION/g" debian/META.camlidl debian/camlidl.manpages0000644000000000000000000000003411737634335012321 0ustar debian/xml-man/en/camlidl.1 debian/camlidl.install.in0000644000000000000000000000005311737634335012602 0ustar debian/META.camlidl @OCamlStdlibDir@/METAS debian/gbp.conf0000644000000000000000000000012611737634335010620 0ustar [DEFAULT] pristine-tar = True cleaner = debuild clean && dh_quilt_unpatch && dh_clean debian/xml-man/0000755000000000000000000000000011737634335010553 5ustar debian/xml-man/en/0000755000000000000000000000000011737634335011155 5ustar debian/xml-man/en/refentryinfo.xml0000644000000000000000000000467311737634335014423 0ustar Sylvain Le Gall gildor@debian.org Georges Mariano georges.mariano@inrets.fr 2006 Sylvain Le Gall 2001, 2002, 2003, 2004, 2005, 2006 Georges Mariano Nov 17, 2006 debian/xml-man/en/license.xml0000644000000000000000000000536111737634335013326 0ustar ]> LICENSE This manual page was written by Sylvain Le Gall gildor@debian.org, using the work of Georges Mariano georges.mariano@inrets.fr for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this manpage. debian/xml-man/en/camlidl.xml0000644000000000000000000001524211737634335013310 0ustar camlidl"> ]> CAMLIDL 1 camlidl A stub code generator for OCaml &dhprg; -I dir -D symbol -cpp -nocpp -prepro cmd -header -no-include -prefix-all-labels -keep-labels -help -v --version file.idl DESCRIPTION This manual page documents briefly the &dhprg; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhprg; is a program that generates stub code for interfacing Caml with C from an IDL description of the C functions. OPTIONS A summary of options is included below. Options for &dhprg; Add directory to search path. Pass to the C preprocessor. Pass the .idl files through the C preprocessor. This is the default behavior. Do not pass the .idl files through the C preprocessor. Use cmd as the preprocessor instead of the C preprocessor. Generate a .h file containing all type definitions. Do not #include the .h file in the generated .c file. Prefix all ML name of record labels with name of enclosing struct. Do not prefix ML names of record labels, even if ambiguous. Show summary of options. Show version of program. file.idl Files to process. debian/xml-man/po4a/0000755000000000000000000000000011737634335011416 5ustar debian/xml-man/po4a/po/0000755000000000000000000000000011737634335012034 5ustar debian/xml-man/po4a/po/camlidl-man.pot0000644000000000000000000002121011737634335014732 0ustar # SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2007-07-06 00:21+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: ENCODING" # type: Content of the debian entity #: debian/xml-man/en/camlidl.xml:4 debian/xml-man/en/license.xml:4 msgid "Debian GNU/Linux" msgstr "" # type: Content of the dhprg entity #: debian/xml-man/en/camlidl.xml:5 msgid "camlidl" msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:43 msgid "camlidl" msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:45 msgid "A stub code generator for OCaml" msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:50 msgid "" "&dhprg; -I dir -D " "symbol -cpp -nocpp " "-prepro cmd -header " "-no-include -prefix-all-labels -keep-labels " "-help" msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:62 msgid "-v --version" msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:65 msgid " file.idl " msgstr "" # type: Content of: #: debian/xml-man/en/camlidl.xml:72 msgid "DESCRIPTION" msgstr "" # type: Content of: <refentry><refsect1><para> #: debian/xml-man/en/camlidl.xml:74 msgid "This manual page documents briefly the &dhprg; command." msgstr "" # type: Content of: <refentry><refsect1><para> #: debian/xml-man/en/camlidl.xml:76 msgid "" "This manual page was written for the &debian; distribution because the " "original program does not have a manual page." msgstr "" # type: Content of: <refentry><refsect1><para> #: debian/xml-man/en/camlidl.xml:79 msgid "" "&dhprg; is a program that generates stub code for interfacing Caml with C " "from an IDL description of the C functions." msgstr "" # type: Content of: <refentry><refsect1><title> #: debian/xml-man/en/camlidl.xml:85 msgid "OPTIONS" msgstr "" # type: Content of: <refentry><refsect1><para> #: debian/xml-man/en/camlidl.xml:87 msgid "A summary of options is included below." msgstr "" # type: Content of: <refentry><refsect1><para> #: debian/xml-man/en/camlidl.xml:89 msgid "Options for &dhprg;" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:94 msgid "-I <replaceable>dir</replaceable>" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:97 msgid "Add directory to search path." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:102 msgid "-D <replaceable>symbol</replaceable>" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:105 msgid "Pass" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><option> #: debian/xml-man/en/camlidl.xml:105 msgid "-D<replaceable>symbol</replaceable>" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:106 msgid "to the C preprocessor." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:111 msgid "-cpp" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:114 msgid "" "Pass the <filename>.idl</filename> files through the C preprocessor. This is " "the default behavior." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:120 msgid "-nocpp" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:123 msgid "Do not pass the <filename>.idl</filename> files through the C preprocessor." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:129 msgid "-prepro <replaceable>cmd</replaceable>" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:132 msgid "" "Use <command>cmd</command> as the preprocessor instead of the C " "preprocessor." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:138 msgid "-header" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:141 msgid "Generate a <filename>.h</filename> file containing all type definitions." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:147 msgid "-no-include" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:150 msgid "" "Do not #include the <filename>.h</filename> file in the generated " "<filename>.c</filename> file." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:156 msgid "-prefix-all-labels" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:159 msgid "Prefix all ML name of record labels with name of enclosing struct." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:165 msgid "-keep-labels" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:168 msgid "Do not prefix ML names of record labels, even if ambiguous." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:173 msgid "-help" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:176 msgid "Show summary of options." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:181 msgid "-v" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option> #: debian/xml-man/en/camlidl.xml:184 msgid "--version" msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:187 msgid "Show version of program." msgstr "" # type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> #: debian/xml-man/en/camlidl.xml:195 msgid "Files to process." msgstr "" # type: Content of: <refsect1><title> #: debian/xml-man/en/license.xml:32 msgid "LICENSE" msgstr "" # type: Content of: <refsect1><para> #: debian/xml-man/en/license.xml:35 msgid "" "This manual page was written by <personname> <firstname>Sylvain</firstname> " "<surname>Le Gall</surname> </personname> <email>gildor@debian.org</email>, " "using the work of <personname> <firstname>Georges</firstname> " "<surname>Mariano</surname> </personname> " "<email>georges.mariano@inrets.fr</email> for the &debian; system (but may be " "used by others). Permission is granted to copy, distribute and/or modify " "this document under the terms of the" msgstr "" # type: Content of: <refsect1><para><acronym> #: debian/xml-man/en/license.xml:48 msgid "GNU" msgstr "" # type: Content of: <refsect1><para> #: debian/xml-man/en/license.xml:48 msgid "" "Lesser General Public License, Version 2.1 or any later version published by " "the Free Software Foundation; considering as source code all the file that " "enable the production of this manpage." msgstr "" # type: Content of: <refentryinfo><copyright><holder> #: debian/xml-man/en/refentryinfo.xml:43 msgid "Sylvain Le Gall" msgstr "" # type: Content of: <refentryinfo><copyright><holder> #: debian/xml-man/en/refentryinfo.xml:47 msgid "Georges Mariano" msgstr "" # type: Content of: <refentryinfo><date> #: debian/xml-man/en/refentryinfo.xml:49 msgid "Nov 17, 2006" msgstr "" ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/xml-man/po4a/po4a.cfg������������������������������������������������������������������������0000644�0000000�0000000�00000000306�11737634335�012741� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������[po4a_paths] debian/xml-man/po4a/po/camlidl-man.pot [type: docbook] debian/xml-man/en/camlidl.xml [type: docbook] debian/xml-man/en/license.xml [type: docbook] debian/xml-man/en/refentryinfo.xml ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/camlidl.examples�����������������������������������������������������������������������������0000644�0000000�0000000�00000000010�11737634335�012336� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������tests/* ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/control��������������������������������������������������������������������������������������0000644�0000000�0000000�00000002401�11737634335�010602� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Source: camlidl Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> Uploaders: Stéphane Glondu <glondu@debian.org>, Ralf Treinen <treinen@debian.org>, Samuel Mimram <smimram@debian.org>, Sylvain Le Gall <gildor@debian.org> Build-Depends: cdbs (>= 0.4.23-1.1), ocaml-nox (>= 3.11), po4a, docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc, debhelper (>= 7), cpp, binutils, dh-ocaml (>= 0.9) Standards-Version: 3.9.0 Homepage: http://forge.ocamlcore.org/projects/camlidl/ Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/camlidl.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/camlidl.git Package: camlidl Architecture: any Suggests: camlidl-doc Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: Stub code generator for Objective Caml CamlIDL generates stub code for interfacing Caml with C from an IDL description of the C functions. Thus, CamlIDL automates the most tedious task in interfacing C libraries with Caml programs. . It can also be used to interface Caml programs with other languages, as long as those languages have a well-defined C interface. . This package contains the CamlIDL executable. ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/copyright������������������������������������������������������������������������������������0000644�0000000�0000000�00000014737�11737634335�011151� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������This package was debianized by Stefano Zacchiroli <zack@debian.org> on Thu, 8 Nov 2001 22:06:03 +0100. It was downloaded from: ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/ Author: Xavier Leroy <Xavier.Leroy@inria.fr>, projet Cristal, INRIA Rocquencourt Copyright: All files marked "Copyright Institut National de Recherche en Informatique et en Automatique" in the "compiler" directory are distributed under the terms of the Q Public License version 1.0. (Attached below). All other files marked "Copyright Institut National de Recherche en Informatique et en Automatique" are distributed under the terms of the GNU Library General Public License. For these files the following applies: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA On Debian GNU/Linux systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL'. The GNU Library General Public Licenses in /usr/share/common-licenses were taken from ftp.gnu.org and are copyrighted by the Free Software Foundation, Inc. ---------------------------------------------------------------------- THE Q PUBLIC LICENSE version 1.0 Copyright (C) 1999 Troll Tech AS, Norway. Everyone is permitted to copy and distribute this license document. The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model. This license applies to any software containing a notice placed by the copyright holder saying that it may be distributed under the terms of the Q Public License version 1.0. Such software is herein referred to as the Software. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software which uses the Software. Granted Rights 1. You are granted the non-exclusive rights set forth in this license provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license. 2. You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed. 3. You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications: a. Modifications must not alter or remove any copyright notices in the Software. b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer. 4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions: a. You must include this license document in the distribution. b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license. 5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements: a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one. Limitations of Liability In no event shall the initial developers or copyright holders be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise. No Warranty The Software and this license document are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Choice of Law This license is governed by the Laws of France. Disputes shall be settled by the Court of Versailles. ---------------------------------------------------------------------- ���������������������������������debian/source/��������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11737634335�010502� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/format��������������������������������������������������������������������������������0000644�0000000�0000000�00000000014�11737634335�011710� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3.0 (quilt) ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/watch����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000331�11737634335�010230� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������version=3 http://forge.ocamlcore.org/frs/?group_id=132 .*/camlidl-([0-9-.]*)\.tar\.gz # Upstream SVN repository: # svn://scm.ocamlcore.org/svnroot/camlidl # http://forge.ocamlcore.org/scm/viewvc.php/?root=camlidl �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/�������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11737634335�010631� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000106�11737634335�012043� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������0001-Makefiles-fixes.patch 0002-Fix-implicit-pointer-conversion.patch ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/0002-Fix-implicit-pointer-conversion.patch�������������������������������������������0000644�0000000�0000000�00000001442�11737634335�020431� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������From: Sylvain Le Gall <gildor@debian.org> Date: Sat, 3 Jul 2010 18:36:39 +0200 Subject: [PATCH] Fix implicit pointer conversion Avoid segfault on archs where size of pointer is greater than the size of an integer (patch provided by Dann Frazier). Author: dann frazier <dannf@hp.com> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323221 Signed-off-by: Sylvain Le Gall <gildor@debian.org> --- runtime/comerror.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/runtime/comerror.c b/runtime/comerror.c index 1e68542..a137b29 100644 --- a/runtime/comerror.c +++ b/runtime/comerror.c @@ -22,6 +22,7 @@ #include <caml/callback.h> #include <caml/fail.h> #include <caml/alloc.h> +#include <caml/printexc.h> #include "camlidlruntime.h" #include "comstuff.h" -- ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/0001-Makefiles-fixes.patch�����������������������������������������������������������0000644�0000000�0000000�00000006743�11737634335�015256� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������From: Stefano Zacchiroli <zack@debian.org> Date: Sat, 3 Jul 2010 18:35:28 +0200 Subject: [PATCH] Makefiles fixes Patch upstream Makefiles in order to: - install stuff properly in debian/ subdirs - built native code stuff only if ocamlopt is available - install camlidlruntime.h header in /usr/include/ocaml/<version>/ Author: Stefano Zacchiroli <zack@debian.org> --- Makefile | 3 +++ config/Makefile.unix | 22 ++++++++++++---------- lib/Makefile | 17 +++++++++++++---- runtime/Makefile.unix | 2 +- 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index 45c18d2..b1e6d17 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,9 @@ all: cd lib; $(MAKE) all cd tools; $(MAKE) all +opt: + cd lib; $(MAKE) opt + install: cd compiler; $(MAKE) install cd runtime; $(MAKE) install diff --git a/config/Makefile.unix b/config/Makefile.unix index cf4549c..8e1eae4 100644 --- a/config/Makefile.unix +++ b/config/Makefile.unix @@ -19,7 +19,7 @@ OSTYPE=unix # How to invoke the C preprocessor # Works on most Unix systems: -CPP=/lib/cpp +CPP=cpp # Alternatives: # CPP=cpp # CPP=/usr/ccs/lib/cpp @@ -30,23 +30,25 @@ RANLIB=ranlib # If ranlib is not needed: #RANLIB=: -# Location of the Objective Caml library in your installation -OCAMLLIB=/usr/local/lib/ocaml +# Location of the header files +DEBIANOCAMLINCDIR=$(shell ocamlc -where) +OCAMLINCDIR=$(DESTDIR)$(DEBIANOCAMLINCDIR)/caml +# Location of the Objective Caml library in your installation +OCAMLLIB=$(DESTDIR)$(shell ocamlc -where) # Where to install the binaries -BINDIR=/usr/local/bin +BINDIR=$(DESTDIR)/usr/bin # The Objective Caml compilers (the defaults below should be OK) -OCAMLC=ocamlc -g +# OCAMLC=ocamlc -g +OCAMLC=ocamlc OCAMLOPT=ocamlopt OCAMLYACC=ocamlyacc -v OCAMLLEX=ocamllex OCAMLDEP=ocamldep # Extra flags to pass to the C compiler -CFLAGS=-Wall -g +CFLAGS=-I$(DEBIANOCAMLINCDIR) -# Suffixes for executables and libraries (do not change) -EXE= -LIBEXT=a -OBJEXT=o +# Extension for lib files (do not change) +LIB=.a diff --git a/lib/Makefile b/lib/Makefile index 7ce04da..43c77fe 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -19,8 +19,11 @@ BYTELIB=com.cma NATIVEOBJS=$(BYTEOBJS:.cmo=.cmx) NATIVELIB=$(BYTELIB:.cma=.cmxa) INTERFACES=$(BYTEOBJS:.cmo=.cmi) +LIBEXT=a -all: $(BYTELIB) $(NATIVELIB) +all: $(BYTELIB) + +opt: $(NATIVELIB) $(BYTELIB): $(BYTEOBJS) $(OCAMLC) -a -o $(BYTELIB) $(BYTEOBJS) @@ -29,8 +32,14 @@ $(NATIVELIB): $(NATIVEOBJS) $(OCAMLOPT) -a -o $(NATIVELIB) $(NATIVEOBJS) install: - cp $(INTERFACES) $(BYTELIB) $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB) - cd $(OCAMLLIB); $(RANLIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) + cp $(INTERFACES) $(BYTELIB) $(OCAMLLIB) + if [ -x /usr/bin/ocamlopt ]; then \ + cp $(NATIVELIB) $(NATIVELIB:.cmxa=$(LIB)) $(OCAMLLIB); \ + cd $(OCAMLLIB); \ + $(RANLIB) $(NATIVELIB:.cmxa=$(LIB)); \ + else \ + true; \ + fi .SUFFIXES: .mli .ml .cmi .cmo .cmx @@ -43,7 +52,7 @@ install: # Clean up clean:: - rm -f *.cm[ioax] $.cmxa *~ + -$(RM) -f *.cm[ioax] *.cmxa *.a *.o *~ # Dependencies depend: diff --git a/runtime/Makefile.unix b/runtime/Makefile.unix index 5617349..737b048 100644 --- a/runtime/Makefile.unix +++ b/runtime/Makefile.unix @@ -22,7 +22,7 @@ libcamlidl.a: $(OBJS) $(RANLIB) $@ install: - cp camlidlruntime.h $(OCAMLLIB)/caml/camlidlruntime.h + cp camlidlruntime.h $(OCAMLINCDIR)/camlidlruntime.h cp libcamlidl.a $(OCAMLLIB)/libcamlidl.a cd $(OCAMLLIB); $(RANLIB) libcamlidl.a -- �����������������������������debian/compat���������������������������������������������������������������������������������������0000644�0000000�0000000�00000000002�11737634335�010400� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������7 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/camlidl.docs���������������������������������������������������������������������������������0000644�0000000�0000000�00000000007�11737634335�011456� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������README �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/mk/������������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11737634335�007611� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/mk/po4a.mk�����������������������������������������������������������������������������������0000644�0000000�0000000�00000004442�11737634335�011011� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# -*- mode: makefile; coding: utf-8 -*- # Copyright © 2006 Sylvain Le Gall <gildor#debian.org> # Description: Rules to manage translation made through po4a. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301, USA. _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules _cdbs_class_path ?= /usr/share/cdbs/1/class ifndef _cdbs_rules_po4a _cdbs_rules_po4a = 1 # needed by debian/control:: rule below include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) # po4a files PO4A_SOURCES := # po4a program to use PO4A := po4a # flags for po4a in clean target PO4A_CLEAN_FLAGS := --no-translations --rm-backups # flags for po4a in build target PO4A_BUILD_FLAGS:= --rm-backups # file containing the list of generated files PO4A_LIST := $(CURDIR)/debian/po4a-list # add required build dependency for used tools CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), po4a # generate the translations (rules follow recommendation of po4a author) %.po4a-build:: % $(PO4A) $(PO4A_BUILD_FLAGS) $< echo $@ >> $(PO4A_LIST) touch $@ # call po4a when it is required # TODO: find a better solution than recursive call to debian/rules po4a: po4a-stamp po4a-stamp:: if test "x$(strip $(PO4A_SOURCES))" != "x"; then \ $(CURDIR)/debian/rules \ $(addsuffix .po4a-build,\ $(PO4A_SOURCES)); \ fi touch $@ build: po4a # update the POT and PO (rules follow recommendation of po4a author) clean:: if test -f $(PO4A_LIST); then \ for i in `grep ".po4a-build" $(PO4A_LIST)`; do \ $(PO4A) $(PO4A_CLEAN_FLAGS) $${i%%.po4a-build}; \ done; \ fi -if test -f $(PO4A_LIST); then \ $(RM) `cat $(PO4A_LIST)`; \ $(RM) $(PO4A_LIST); \ fi -$(RM) po4a-stamp endif ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/mk/docbook-manpage.mk������������������������������������������������������������������������0000644�0000000�0000000�00000010673�11737634335�013177� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# -*- mode: makefile; coding: utf-8 -*- # Copyright © 2006 Sylvain Le Gall <gildor#debian.org> # Description: Rules to manage manpages written in XML. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2, or (at # your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301, USA. _cdbs_scripts_path ?= /usr/lib/cdbs _cdbs_rules_path ?= /usr/share/cdbs/1/rules _cdbs_class_path ?= /usr/share/cdbs/1/class ifndef _cdbs_rules_docbookxml _cdbs_rules_docbook_manpage = 1 # needed by debian/control:: rule below include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) # needed for po4a-stamp # TODO: if released in CDBS, change above include $(CURDIR)/debian/mk/po4a.mk$(_cdbs_makefile_suffix) # docbook manpages to build DOCBOOK_MANPAGE_SOURCES := # extra docbook sources to look for (docbook extract to be included in # other docbook manpage) DOCBOOK_MANPAGE_EXTRA_SOURCES := # version of docbook sources to use (must follow the scheme " (>= version)") DOCBOOK_MANPAGE_VERSION := # add required build dependency for used tools CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), docbook-xml@docbook_version@, docbook-xsl, libxml2-utils, xsltproc # xmllint program to use DOCBOOK_MANPAGE_XMLLINT := xmllint # flags for xmllint DOCBOOK_MANPAGE_XMLLINT_FLAGS := --nonet --noout --postvalid --xinclude # xsltproc program to use DOCBOOK_MANPAGE_XSLTPROC := xsltproc # flags for xsltproc DOCBOOK_MANPAGE_XSLTPROC_FLAGS := --nonet --xinclude --param man.charmap.use.subset 0 # XSL stylesheet to transform docbook to manpage DOCBOOK_MANPAGE_XSLTPROC_XSL := /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl # file containing the list of generated files DOCBOOK_MANPAGE_LIST := $(CURDIR)/debian/docbook-manpage-list # compute higher docbook version, if required (no version provided and sources defined) # and replace it in generated control file. ifneq ($(DEB_AUTO_UPDATE_DEBIAN_CONTROL),) debian/control:: if test -f $(CURDIR)/debian/control && test -f $(CURDIR)/debian/control.in; then \ DOCBOOK_MANPAGE_VERSION=$(strip $(DOCBOOK_MANPAGE_VERSION)); \ if test "x$$DOCBOOK_MANPAGE_VERSION" == "x" && \ test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x"; then \ DOCBOOK_ALL_SOURCES="$(DOCBOOK_MANPAGE_SOURCES) $(DOCBOOK_MANPAGE_EXTRA_SOURCES)"; \ DOCBOOK_MANPAGE_VERSION=`grep -s -e "-//OASIS//DTD DocBook XML V[0-9\.]*//EN" $$DOCBOOK_ALL_SOURCES | \ sed "s,.*-//OASIS//DTD DocBook XML V\\([0-9\.]*\\)//EN.*,\\1," | \ sort -r | head -n 1`; \ if test "x$$DOCBOOK_MANPAGE_VERSION" != "x"; then \ DOCBOOK_MANPAGE_VERSION=" (>= $$DOCBOOK_MANPAGE_VERSION)"; \ fi; \ fi; \ sed -i "s,@docbook_version@,$$DOCBOOK_MANPAGE_VERSION," $(CURDIR)/debian/control; \ fi endif # check docbook sources for any problem %.docbook-manpage-check:: % $(DOCBOOK_MANPAGE_XMLLINT) $(DOCBOOK_MANPAGE_XMLLINT_FLAGS) $< echo $@ >> $(DOCBOOK_MANPAGE_LIST) touch $@ # build manpage %.docbook-manpage-build:: % $(DOCBOOK_MANPAGE_XSLTPROC_XSL) $(DOCBOOK_MANPAGE_XSLTPROC) \ $(DOCBOOK_MANPAGE_XSLTPROC_FLAGS) \ -o $(dir $<) \ $(DOCBOOK_MANPAGE_XSLTPROC_XSL) \ $< echo $@ >> $(DOCBOOK_MANPAGE_LIST) touch $@ # check all docbook sources and build manpage. # TODO: find a better solution than recursive call to debian/rules docbook-manpage: docbook-manpage-stamp docbook-manpage-stamp:: po4a-stamp if test "x$(strip $(DOCBOOK_MANPAGE_SOURCES))" != "x" && \ test "x$(strip $(DOCBOOK_MANPAGE_EXTRA_SOURCES))" != "x"; then \ $(CURDIR)/debian/rules \ $(addsuffix .docbook-manpage-check,\ $(DOCBOOK_MANPAGE_SOURCES) \ $(DOCBOOK_MANPAGE_EXTRA_SOURCES)) \ $(addsuffix .docbook-manpage-build, \ $(DOCBOOK_MANPAGE_SOURCES)); \ fi touch $@ build-arch: docbook-manpage clean:: -if test -f $(DOCBOOK_MANPAGE_LIST); then \ $(RM) `cat $(DOCBOOK_MANPAGE_LIST)`; \ $(RM) $(DOCBOOK_MANPAGE_LIST); \ fi -$(RM) docbook-manpage-stamp endif ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������