[Bio] / PPO / Makefile Repository:
ViewVC logotype

Annotation of /PPO/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (view) (download)

1 : paarmann 1.1 #
2 :     #
3 :     #
4 :    
5 : paarmann 1.2 PERLPACKAGES := $(wildcard *.pm) \
6 :     $(wildcard PPOBackend/*.pm)
7 : paarmann 1.1 PYPACKAGES := $(wildcard *.py)
8 :    
9 :     lib: lib_perl lib_py html_doc
10 :    
11 :     lib_perl: $(foreach var, $(PERLPACKAGES), $(libdir)/$(PKGNAME)/$(var))
12 :     lib_py: $(foreach var, $(PYPACKAGES), $(libdir)/$(PKGNAME)/$(var))
13 :    
14 :     html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
15 :    
16 :     bin:
17 :    
18 :     schematools:
19 :     stDeclFiles:
20 :     stGeneratedFiles:
21 :    
22 :    
23 :     test:
24 :    
25 :     clean:
26 :    
27 :     html_doc_dir:
28 :     if [ ! -d $(cgidir)/Html/pod_docs ] ; then mkdir $(cgidir)/Html/pod_docs; fi
29 :    
30 :     $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
31 : paarmann 1.2 tgt_dir=`dirname $@`; \
32 :     if [ ! -d $$tgt_dir ] ; then \
33 :     mkdir $$tgt_dir; \
34 :     fi
35 : paarmann 1.1 cp -p $< $@
36 :    
37 :     $(libdir)/$(PKGNAME)/%.py: $(TOPDIR)/$(PKGNAME)/%.py
38 :     cp -p $< $@
39 :    
40 :     $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
41 :     -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<
42 :    
43 :     #
44 :     # We have a config problem at the moment. I do not want to depend
45 :     # upon explicit calls to other packages, as done here nor do I want
46 :     # to assume that package was built first. For now, we live with this.
47 :    
48 :     #$(workdir)/FIG_Config.pm:
49 :     # cd $(workdir); $(TOPDIR)/FigCommon/configure-env $(RTARCH) $(TOPDIR)
50 :    
51 :     $(libdir)/$(PKGNAME)/%.pm: $(workdir)/%.pm
52 :     cp -p $< $@
53 :     $(libdir)/$(PKGNAME)/%.py: $(workdir)/%.py
54 :     cp -p $< $@
55 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3