File: Makefile.am

package info (click to toggle)
swish-e 2.4.3-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,308 kB
  • ctags: 7,642
  • sloc: ansic: 47,402; sh: 8,508; perl: 5,281; makefile: 723; xml: 9
file content (50 lines) | stat: -rw-r--r-- 969 bytes parent folder | download | duplicates (2)
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
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

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)