debian/0000755000000000000000000000000012247303545007173 5ustar debian/manpages0000644000000000000000000000002212174025712010677 0ustar debian/ocamlify.1 debian/control0000644000000000000000000000163212174026041010570 0ustar Source: ocamlify Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Sylvain Le Gall Build-Depends: debhelper (>= 7.0.50~), ocaml-nox (>= 4), dh-ocaml (>= 0.9.0~), ocaml-findlib Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocamlify.git Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocamlify.git Homepage: http://ocamlify.forge.ocamlcore.org/ Package: ocamlify Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${ocaml:Depends} Description: include files in OCaml code This program allows one to copy files inside OCaml code. It uses a first file that describes the other files that must be included and the type of OCaml variable it should create. It can also describe dependencies to other files, in order to generate .depends files for make. debian/source/0000755000000000000000000000000012174025712010467 5ustar debian/source/format0000644000000000000000000000001412174025712011675 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000002712174025712010041 0ustar AUTHORS.txt README.txt debian/copyright0000644000000000000000000000232212174025712011121 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: ocamlify Maintainer: Sylvain Le Gall Files: * Copyright: (C) 2009-2010, OCamlCore SARL License: LGPL-2.1 with OCaml linking exception See '/usr/share/common-licenses/LGPL-2.1'. As a special exception to the GNU Library General Public License, you may link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Library General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed by upstream author, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Library General Public License. Files: debian/* Copyright: (C) 2010 Sylvain Le Gall License: GPL-3+ debian/ocamlify.10000644000000000000000000000273212174025712011060 0ustar .TH OCAMLIFY 1 "November 9, 2010" "Ocamlify User Manual" .SH NAME .PP ocamlify - create an OCaml file including other files. .SH SYNOPSIS .PP ocamlify [options] option-file .SH DESCRIPTION .PP This program allows to copy files inside OCaml code. It uses a first file that describes the other files that must be included and the type of OCaml variable it should create. It can also describe dependencies to other files, in order to generate \&.depends files for make. .PP For example, we can create a file \f[B]test.mlify\f[] with this content: .PP \f[CR] VarString\ oasissys_ml\ "OASISSys.ml" VarStringList\ readme_template_mkd\ "MANUAL-template.mkd" \f[] .PP We then translate it using the program: .PP \f[CR] $>\ ocamlify\ --output\ test.ml\ test.mlify \f[] .PP And we get a file \f[B]test.ml\f[] containing two OCaml variables: \f[I]oasissys_ml\f[], which is a string, and \f[I]readme_template_mkd\f[] which is a string list (one string per line). .SH OPTIONS .TP .B --var-string-list \f[I]varname\f[] \f[B]file\f[] Include file as a list of string, each string representing a line (without trailing EOL character) .RS .RE .TP .B --var-string \f[I]varname\f[] \f[B]file\f[] Include file as a string. .RS .RE .TP .B --output \f[B]file\f[] Output file, default to standard output .RS .RE .TP .B --depends Output file dependencies .RS .RE .TP .B --target file Define target of dependencies .RS .RE .TP .B -help|--help Display list of options .RS .RE .SH AUTHORS Sylvain Le Gall. debian/watch0000644000000000000000000000027312174025712010222 0ustar version=3 http://forge.ocamlcore.org/frs/?group_id=53 .*/ocamlify-(.*)\.tar\.gz # Upstream darcs repository: # http://forge.ocamlcore.org/scm/browser.php?group_id=53&repo_name=ocamlify debian/compat0000644000000000000000000000000212174025712010365 0ustar 7 debian/rules0000755000000000000000000000124212174025712010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DESTDIR=$(CURDIR)/debian/ocamlify include /usr/share/ocaml/ocamlvars.mk %: dh --with ocaml $@ .PHONY: override_dh_auto_configure override_dh_auto_configure: ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' .PHONY: override_dh_auto_build override_dh_auto_build: ocaml setup.ml -build .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p '$(DESTDIR)/usr/bin' ocaml setup.ml -install .PHONY: override_dh_auto_clean override_dh_auto_clean: ocaml setup.ml -distclean debian/ocamlify.1: debian/ocamlify.mkd pandoc -s -w man $^ -o $@ debian/gbp.conf0000644000000000000000000000003612174025712010605 0ustar [DEFAULT] pristine-tar = True debian/changelog0000644000000000000000000000172712247303265011053 0ustar ocamlify (0.0.2-2) unstable; urgency=low * Team upload * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 08:22:29 +0100 ocamlify (0.0.2-1) experimental; urgency=low [ Stéphane Glondu ] * Team upload * Compile with OCaml >= 4 * Update Vcs-* [ Sylvain Le Gall ] * New upstream version. -- Stéphane Glondu Wed, 24 Jul 2013 21:34:36 +0200 ocamlify (0.0.1-3) unstable; urgency=low * Team upload * Recompile with OCaml 3.12.1 (no changes) -- Stéphane Glondu Wed, 02 Nov 2011 07:23:22 +0100 ocamlify (0.0.1-2) unstable; urgency=low * Team upload * Rebuild with OCaml 3.12.0 (no changes) * debian/control: add Homepage field * Add debian/watch -- Stéphane Glondu Sun, 17 Apr 2011 21:00:49 +0200 ocamlify (0.0.1-1) unstable; urgency=low * Initial release. (Closes: #602913) -- Sylvain Le Gall Wed, 17 Nov 2010 22:09:41 +0100 debian/ocamlify.mkd0000644000000000000000000000242712174025712011474 0ustar % OCAMLIFY(1) Ocamlify User Manual % Sylvain Le Gall % November 9, 2010 # NAME ocamlify - create an OCaml file including other files. # SYNOPSIS ocamlify [options] option-file # DESCRIPTION This program allows to copy files inside OCaml code. It uses a first file that describes the other files that must be included and the type of OCaml variable it should create. It can also describe dependencies to other files, in order to generate .depends files for make. For example, we can create a file `test.mlify` with this content: VarString oasissys_ml "OASISSys.ml" VarStringList readme_template_mkd "MANUAL-template.mkd" We then translate it using the program: $> ocamlify --output test.ml test.mlify And we get a file `test.ml` containing two OCaml variables: *oasissys_ml*, which is a string, and *readme_template_mkd* which is a string list (one string per line). # OPTIONS \--var-string-list *varname* `file` : Include file as a list of string, each string representing a line (without trailing EOL character) \--var-string *varname* `file` : Include file as a string. \--output `file` : Output file, default to standard output \--depends : Output file dependencies \--target file : Define target of dependencies -help|\--help : Display list of options