X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=perl%2FMakefile.am;h=026f067403cd14b4bfe04ce6a5540ca0a87c59eb;hb=fb2bd066c2f8b34addafe48d62550e3033a59431;hp=701ae473f61e22cd979ee2959a3ab38c31854bcb;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda diff --git a/perl/Makefile.am b/perl/Makefile.am index 701ae47..026f067 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -50,6 +50,25 @@ libamglue_la_SOURCES = \ libamglue_la_LDFLAGS = $(PERL_EXT_LDFLAGS) EXTRA_DIST += $(libamglue_la_SOURCES) +## +## HTML Generation +## + +# This isn't a very robust implementation, as it's only meant to make the HTML +# available online as part of the automated compilation process. It assumes +# that all perl modules were built (not just server or client), and that the +# build directory does not contain any "junk". + +# HTML_SOURCE_FILES should contain the .pm files from which the HTML should +# be geneated. This is just the concatenation of foo_DATA for all $(foodir) +# into which perl modules are installed. +HTML_SOURCE_FILES= +html: make_html amperl.css $(HTML_SOURCE_FILES) + rm -rf html-tmp/ && mkdir html-tmp/ + cp amperl.css html-tmp/ + $(PERL) make_html html-tmp/ $(HTML_SOURCE_FILES) + cd html-tmp/ && tar -zcf $(abs_builddir)/html.tar.gz . + rm -rf html-tmp/ ## ## SWIG-generated packages ## @@ -66,6 +85,7 @@ PERL_EXT_LDFLAGS += $(PERLEXTLIBS) AMGLUE_SWG = amglue/amglue.swg \ amglue/amglue.swg \ amglue/constants.swg \ + amglue/dumpspecs.swg \ amglue/exports.swg \ amglue/glib.swg \ amglue/integers.swg @@ -93,6 +113,7 @@ SWIG_OPTIONS=-perl5 -proxy -DSWIG_TYPE_TABLE=SWIG_TYPES_Amanda -I$(srcdir) Amandadir=$(amperldir)/Amanda Amanda_DATA = +HTML_SOURCE_FILES += $(Amanda_DATA) if WANT_SERVER # PACKAGE: Amanda::Device