/[papo]/papo/forms/Makefile
ViewVC logotype

Diff of /papo/forms/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by styxman, Thu Feb 13 17:31:59 2003 UTC revision 1.6 by styxman, Fri Apr 25 22:48:24 2003 UTC
# Line 1  Line 1 
1  Z2G = zot2gfd  Z2G = zot2gfd
2    NEB= neb --include-path './components:.'
3    TCS= tcs -f utf -t latin1
4    INSTALL=ln -sf
5    
6    LIBDIR=${HOME}/public_perl
7    
8  ALL = country.gfd product_measure_type.gfd product_classification.gfd \  ALL = country.gfd product_measure_type.gfd product_classification.gfd \
9        own_branch.gfd        ownBranch.gfd
10    
11    PERL-COMPONENTS=components/PAPO.pm
12    
13    do-for-all=$(foreach item,$(2),$(call $(1),$(item)))
14    install-mod=${INSTALL} ${PWD}/$(1) ${LIBDIR}/$(shell basename $(1));
15    
16  all: $(ALL)  all: install-perl-components $(ALL)
17    
18  %.gfd: %.cfg ../zot/template.gfd  %.gfd: %.cfg ../zot/template.gfd
19          $(Z2G) $< > $@          $(Z2G) $< > $@
20    
21    %.gfd: %.neb
22            $(NEB) $< | $(TCS) > $@
23    
24  clean:  clean:
25          rm -f $(ALL)          rm -f $(ALL)
26    
27    install-perl-components:
28            $(call do-for-all,install-mod,${PERL-COMPONENTS})

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26