1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
perlmoduledir = $(libexecdir)/perl
exampledir = $(datadir)/doc/$(PACKAGE)/examples/prog-bin
libexec_SCRIPTS = spider.pl DirTree.pl
# These are really out dated
perlmodule_SCRIPTS = \
doc2txt.pm \
pdf2html.pm \
pdf2xml.pm
CLEANFILES = spider.pl DirTree.pl
# This is done here to stay in the GNU coding standards
# libexecdir can be modified at make time, so can't use
# variable substitution at configure time
spider.pl: spider.pl.in
@rm -f spider.pl
@sed \
-e 's,@@perlmoduledir@@,$(libexecdir)/perl,' \
-e 's,@@swishbindir@@,$(bindir),' \
-e 's,@@perlbinary@@,$(PERL),' \
$(srcdir)/spider.pl.in > spider.pl
DirTree.pl: DirTree.pl.in
@rm -f spider.pl
@sed \
-e 's,@@perlmoduledir@@,$(libexecdir)/perl,' \
-e 's,@@swishbindir@@,$(bindir),' \
-e 's,@@perlbinary@@,$(PERL),' \
$(srcdir)/DirTree.pl.in > DirTree.pl
other_examples = \
README \
file.pl \
SwishSpiderConfig.pl \
MySQL.pl \
index_hypermail.pl \
pdf2xml.pm \
pdf2html.pm \
doc2txt.pm
example_DATA = $(other_examples)
EXTRA_DIST = \
spider.pl.in \
DirTree.pl.in \
$(other_examples)
|