aboutsummaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-07-27 20:09:04 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-11-30 08:25:19 -0800
commitff7bac0305d145fa4f53844b5a37e0f51edbc48f (patch)
tree6f327bca41caf77849578a622e0c19e6b346d4b1 /doc/api
parenta8c9e5d64d9a5a0382fccaa98220d22cbaf9b55f (diff)
downloadpaludis-ff7bac0305d145fa4f53844b5a37e0f51edbc48f.tar.gz
paludis-ff7bac0305d145fa4f53844b5a37e0f51edbc48f.tar.xz
build: remove autotools based build
There can be only one!
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/Makefile.am58
-rw-r--r--doc/api/cplusplus/Makefile.am61
-rw-r--r--doc/api/cplusplus/examples/Makefile.am145
-rw-r--r--doc/api/python/Makefile.am70
-rw-r--r--doc/api/ruby/Makefile.am63
5 files changed, 0 insertions, 397 deletions
diff --git a/doc/api/Makefile.am b/doc/api/Makefile.am
deleted file mode 100644
index c9a430c71..000000000
--- a/doc/api/Makefile.am
+++ /dev/null
@@ -1,58 +0,0 @@
-include $(top_srcdir)/misc/common-makefile.am
-
-SUBDIRS = cplusplus python ruby .
-
-CLEANFILES += \
- header.html.part \
- toplinks.html.part \
- footer.html.part \
- index.html
-
-EXTRA_DIST = \
- toplinks.html.part.in \
- index.html.part
-
-paludisapihtmldir = $(htmldir)/api
-
-paludisapihtml_DATA = \
- index.html
-
-if HAVE_HTMLTIDY
-
-TESTS = $(paludisapihtml_DATA)
-LOG_COMPILER_INTERP = $(top_srcdir)/doc/htmltidy.bash
-
-endif
-
-index.html : header.html.part $(srcdir)/index.html.part footer.html.part
- cat header.html.part $(srcdir)/index.html.part footer.html.part > $@
-
-header.html.part : $(srcdir)/../header.html.part.in toplinks.html.part
- sed \
- -e 's,###TOPURI###,../,g' \
- -e '/###TOPLINKS###/r $(srcdir)/toplinks.html.part' \
- -e 's,###TOPLINKS###,,g' \
- < $(srcdir)/../header.html.part.in > header.html.part
-
-toplinks.html.part : $(srcdir)/toplinks.html.part.in
- sed \
- -e 's,###TOPURI###,../,g' \
- < $(srcdir)/toplinks.html.part.in > toplinks.html.part
-
-footer.html.part : $(srcdir)/../footer.html.part.in
- sed -e 's,###TOPURI###,./,g' < $(srcdir)/../footer.html.part.in > footer.html.part
-
-doxygen :
- $(MAKE) -C cplusplus $@
-
-epydoc :
- $(MAKE) -C python $@
-
-htmldocs : htmldocs-subdirs
-
-htmldocs-subdirs :
- for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
- else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
-
-htmldocs-local : $(paludisapihtml_DATA)
-
diff --git a/doc/api/cplusplus/Makefile.am b/doc/api/cplusplus/Makefile.am
deleted file mode 100644
index 4ab5e8509..000000000
--- a/doc/api/cplusplus/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-SUBDIRS = examples .
-
-if HAVE_DOXYGEN_TAGS
-
-tagfiles = \
- libstdc++.tag
-
-libstdc++.tag :
- wget -O $@ http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
-
-endif
-
-doxygen_files = \
- groups.doxygen \
- main_page.doxygen \
- namespaces.doxygen \
- references.doxygen
-
-EXTRA_DIST = doxygen.conf.in $(doxygen_files)
-CLEANFILES = *~ cplusplus/* cplusplus paludis.tag *.epicfail
-
-MAINTAINERCLEANFILES = Makefile.in doxygen.conf $(tagfiles)
-
-if HAVE_DOXYGEN
-
-all-local : cplusplus
-
-doxygen : cplusplus
-
-cplusplus : doxygen.conf $(doxygen_files) $(tagfiles)
- doxygen doxygen.conf
-
-install-data-local :
- mkdir -p $(DESTDIR)$(htmldir)/api
- cp -R cplusplus/ $(DESTDIR)$(htmldir)/api/
-
-else
-
-doxygen :
- @echo "You don't have doxygen installed!"
- exit 1
-
-endif
-
-built-sources : $(BUILT_SOURCES)
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-
-clean-local :
- rm -fr cplusplus/
-
-uninstall-local :
- rm -fr $(DESTDIR)$(htmldir)/api/cplusplus
-
-htmldocs : htmldocs-subdirs
-
-htmldocs-subdirs :
- for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
- else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
-
-htmldocs-local : $(paludishtmlapicplusplus_DATA)
-
diff --git a/doc/api/cplusplus/examples/Makefile.am b/doc/api/cplusplus/examples/Makefile.am
deleted file mode 100644
index fae161c5f..000000000
--- a/doc/api/cplusplus/examples/Makefile.am
+++ /dev/null
@@ -1,145 +0,0 @@
-CLEANFILES = *~ *.epicfail
-MAINTAINERCLEANFILES = Makefile.in
-AM_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/src @PALUDIS_CXXFLAGS@
-DEFS= \
- -DSYSCONFDIR=\"$(sysconfdir)\" \
- -DDATADIR=\"$(datadir)\" \
- -DLIBEXECDIR=\"$(libexecdir)\" \
- -DLIBDIR=\"$(libdir)\"
-
-SUBDIRS = .
-
-noinst_PROGRAMS = \
- example_about \
- example_action \
- example_contents \
- example_dep_label \
- example_dep_spec \
- example_dep_spec_flattener \
- example_environment \
- example_package_id \
- example_metadata_key \
- example_mask \
- example_repository \
- example_match_package \
- example_selection \
- example_version_operator \
- example_version_spec \
- example_name
-
-EXTRA_DIST = $(noinst_SCRIPTS)
-
-noinst_LIBRARIES = libpaludisexamples.a
-
-libpaludisexamples_a_SOURCES = \
- example_command_line.hh \
- example_command_line.cc
-
-libpaludisexamples_a_LIBADD = \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_about_SOURCES = example_about.cc
-example_about_LDADD = \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la
-
-example_action_SOURCES = example_action.cc
-example_action_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_contents_SOURCES = example_contents.cc
-example_contents_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_dep_label_SOURCES = example_dep_label.cc
-example_dep_label_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_dep_spec_SOURCES = example_dep_spec.cc
-example_dep_spec_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_dep_spec_flattener_SOURCES = example_dep_spec_flattener.cc
-example_dep_spec_flattener_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_environment_SOURCES = example_environment.cc
-example_environment_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_package_id_SOURCES = example_package_id.cc
-example_package_id_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_mask_SOURCES = example_mask.cc
-example_mask_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_metadata_key_SOURCES = example_metadata_key.cc
-example_metadata_key_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_repository_SOURCES = example_repository.cc
-example_repository_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_match_package_SOURCES = example_match_package.cc
-example_match_package_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_selection_SOURCES = example_selection.cc
-example_selection_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_version_operator_SOURCES = example_version_operator.cc
-example_version_operator_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_version_spec_SOURCES = example_version_spec.cc
-example_version_spec_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-example_name_SOURCES = example_name.cc
-example_name_LDADD = \
- libpaludisexamples.a \
- $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
- $(top_builddir)/paludis/args/libpaludisargs_@PALUDIS_PC_SLOT@.la
-
-built-sources : $(BUILT_SOURCES)
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-
-htmldocs : htmldocs-subdirs
-
-htmldocs-subdirs :
- for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
- else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
-
-htmldocs-local : $(paludisapicplusplusexampleshtml_DATA)
-
diff --git a/doc/api/python/Makefile.am b/doc/api/python/Makefile.am
deleted file mode 100644
index 65723a57d..000000000
--- a/doc/api/python/Makefile.am
+++ /dev/null
@@ -1,70 +0,0 @@
-SUBDIRS = .
-
-CLEANFILES = *~ python/*/* doctrees/* *.epicfail
-MAINTAINERCLEANFILES = Makefile.in
-
-examples = \
- example_about.py \
- example_command_line.py \
- example_version_spec.py
-
-rst_docs = \
- example_about.rst \
- example_command_line.rst \
- example_version_spec.rst \
- index.rst \
- paludis.rst
-
-EXTRA_DIST = conf.py \
- $(rst_docs) \
- $(examples)
-
-if ENABLE_PYTHON_DOC
-
-all-local : sphinx
-
-sphinx : python
-
-python : $(top_builddir)/python/paludis.so $(examples) $(rst_docs)
- mkdir -p $(builddir)/python && \
- env \
- LD_LIBRARY_PATH="`echo $$LD_LIBRARY_PATH: | sed -e 's,^:,,'`` \
- $(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/.libs/ \
- `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/util/.libs/ \
- `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/ruby/.libs/ \
- `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/python/.libs/ \
- `:`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/e/.libs/`" \
- PYTHONPATH="$(top_builddir)/python/:$(top_builddir)/python/.libs/" \
- $(SPHINX_BUILD) -c $(builddir) -b html -d $(builddir)/doctrees $(srcdir) $(builddir)/python
-
-
-install-data-local :
- mkdir -p $(DESTDIR)$(htmldir)/api
- cp -R python/ $(DESTDIR)$(htmldir)/api/
-
-else
-
-sphinx :
- @echo "You don't have python-doc turned on!"
- exit 1
-
-endif
-
-
-built-sources : $(BUILT_SOURCES)
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-
-htmldocs : htmldocs-subdirs
-
-htmldocs-subdirs :
- for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
- else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
-
-htmldocs-local : $(paludisapipythonhtml_DATA)
-
-clean-local :
- rm -fr python/
-
-uninstall-local :
- rm -fr $(DESTDIR)$(htmldir)/api/python
-
diff --git a/doc/api/ruby/Makefile.am b/doc/api/ruby/Makefile.am
deleted file mode 100644
index b536ed677..000000000
--- a/doc/api/ruby/Makefile.am
+++ /dev/null
@@ -1,63 +0,0 @@
-SUBDIRS = .
-
-CLEANFILES = *~ gmon.out *.gcov *.gcno *.gcda *.loT *.epicfail
-MAINTAINERCLEANFILES = Makefile.in
-
-built-sources : $(BUILT_SOURCES)
- for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
-
-htmldocs : htmldocs-subdirs
-
-htmldocs-subdirs :
- for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) htmldocs-local || exit 1 ; \
- else $(MAKE) -C $$s htmldocs || exit 1 ; fi ; done
-
-htmldocs-local : $(paludisapirubyhtml_DATA)
-
-dist_noinst_SCRIPTS = create_ruby_doc.rb \
- create_ruby_examples.rb
-
-examples = \
- example_about.rb \
- example_action.rb \
- example_command_line.rb \
- example_contents.rb \
- example_dep_tree.rb \
- example_environment.rb \
- example_package_id.rb \
- example_mask.rb \
- example_match_package.rb \
- example_repository.rb \
- example_selection.rb \
- example_version_operator.rb \
- example_version_spec.rb
-
-EXTRA_DIST = $(examples) \
- ruby_syntax.css
-
-if ENABLE_RUBY_DOC
-
-all-local : rdoc
-
-rdoc : ruby
-
-ruby : create_ruby_doc.rb create_ruby_examples.rb ruby_syntax.css $(examples)
- rm -fr ruby
- env TOP_SRCDIR="$(top_srcdir)" $(RUBY) \
- $(srcdir)/create_ruby_doc.rb -t "Paludis Ruby API" -m Paludis --op ruby \
- $(top_srcdir)/ruby/*.cc
- $(RUBY) $(srcdir)/create_ruby_examples.rb $(srcdir) $(examples)
- cp $(srcdir)/ruby_syntax.css ruby
-
-install-data-local :
- mkdir -p $(DESTDIR)$(htmldir)/api
- cp -R ruby/ $(DESTDIR)$(htmldir)/api/
-
-endif
-
-clean-local :
- rm -fr ruby
-
-uninstall-local :
- rm -fr $(DESTDIR)$(htmldir)/api/ruby
-