[Bio] / PPO / Makefile Repository:
ViewVC logotype

Annotation of /PPO/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3