/[dgee]/dgee/gw_config/Makefile.am
ViewVC logotype

Diff of /dgee/gw_config/Makefile.am

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

revision 1.1 by npg, Mon Aug 18 04:58:23 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:43:20 2003 UTC
# Line 0  Line 1 
1    
2    prefix = $(DESTDIR)@prefix@
3    exec_prefix = @exec_prefix@
4    etcdir = $(DESTDIR)@sysconfdir@
5    spooldir = $(DESTDIR)@localstatedir@/spool/dgee
6    logdir = $(DESTDIR)@localstatedir@/log/dgee
7    #logdir = @LOGDIR@
8    sandbox = @sandbox@
9    GWMKCFG = @GWBASE@/bin/gwmkcfg
10    
11    CONF=${etcdir}
12    
13    # These get chowned to the running user
14    #
15    IDIRS = ${spooldir} ${logdir}
16    
17    all: dgeeconf.bin
18    
19    directories:
20    
21    dgeeconf.xml: markup.sh dgeeconf.xml.in
22            @( chmod +x markup.sh; ./markup.sh; )
23    
24    dgeeconf.bin: dgeeconf.xml
25            ( export GWCONFIG=dgeeconf.bin; \
26                    rm -f $${GWCONFIG}; \
27                    $(GWMKCFG) dgeeconf.xml; )
28    
29    install:
30            @( for d in ${IDIRS}; do \
31              $(mkinstalldirs) $${d}; \
32              chown -f @USER@:@GROUP@ $${d}; \
33              if [ '$(sandbox)' != '' ];  \
34              then \
35                $(mkinstalldirs) ${sandbox}$${d}; \
36                chown @USER@:@GROUP@ ${sandbox}$${d}; \
37              fi ; \
38            done; )
39            $(mkinstalldirs) ${CONF}
40            $(INSTALL) dgeeconf.bin ${CONF}
41            $(INSTALL) dgeeconf.xml ${CONF}
42            @( if [ '$(sandbox)' != '' ];  \
43               then \
44                 $(mkinstalldirs) ${sandbox}${CONF} ; \
45                 @top_srcdir@/install-sandbox dgeeconf.bin ${CONF} ${sandbox} ; \
46                 @top_srcdir@/install-sandbox dgeeconf.xml ${CONF} ${sandbox} ; \
47            fi ; \
48          )
49    
50    clean:
51            @rm -f dgeeconf.bin dgeeconf.xml
52    
53    distclean: clean
54            rm -f *~
55            rm -f \#*
56            rm -f Makefile dgeeconf.xml markup.sh
57    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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