/[ludap]/ludap/Makefile
ViewVC logotype

Diff of /ludap/Makefile

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

revision 1.1 by mose, Wed Sep 24 06:02:34 2003 UTC revision 1.2 by mose, Wed Sep 24 10:03:03 2003 UTC
# Line 26  all: install Line 26  all: install
26    
27  # ------------------------------------------------------------------------  # ------------------------------------------------------------------------
28    
29  install: init files web img doc htmldoc conf smarty templates tmp  install: init files web img doc htmldoc conf smarty tpl tmp
30                                  @echo ---------------------------------------                                  @echo ---------------------------------------
31                                  @echo installed                                  @echo installed
32    
# Line 48  htmldoc: dox/html/* Line 48  htmldoc: dox/html/*
48                                  $(INSTALL) -p -o $(SUSER) -g $(SGROUP) -m 644 $? $(DOCDIR)/html                                  $(INSTALL) -p -o $(SUSER) -g $(SGROUP) -m 644 $? $(DOCDIR)/html
49    
50  conf: etc/*.dist  conf: etc/*.dist
51                                  [ -d $(CONFDIR) ] || mkdir -m 750 $(CONFDIR) || exit 0                                  [ -d $(CONFDIR) ] || mkdir -m 775 $(CONFDIR) || exit 0
52                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(CONFDIR)                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(CONFDIR)
53                                    [ -f $(CONFDIR)/ludap.conf ] || cp -p $(CONFDIR)/ludap.conf.dist $(CONFDIR)/ludap.conf
54                                    [ -f $(CONFDIR)/user.schema ] || cp -p $(CONFDIR)/user.schema.dist $(CONFDIR)/user.schema
55                                    [ -f $(CONFDIR)/group.schema ] || cp -p $(CONFDIR)/group.schema.dist $(CONFDIR)/group.schema
56    
57  web: www/*.php  web: www/*.php
58                                  [ -d $(WEBDIR) ] || mkdir -m 775 $(WEBDIR) || exit 0                                  [ -d $(WEBDIR) ] || mkdir -m 775 $(WEBDIR) || exit 0
# Line 73  smarty_plugins: smarty/plugins/*.php Line 76  smarty_plugins: smarty/plugins/*.php
76                                  [ -d $(INSTALLDIR)/smarty/plugins ] || mkdir -m 775 $(INSTALLDIR)/smarty/plugins || exit 0                                  [ -d $(INSTALLDIR)/smarty/plugins ] || mkdir -m 775 $(INSTALLDIR)/smarty/plugins || exit 0
77                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(INSTALLDIR)/smarty/plugins                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(INSTALLDIR)/smarty/plugins
78    
79  templates: templates/*.tpl  tpl: templates/*.tpl
80                                  [ -d $(INSTALLDIR)/templates ] || mkdir -m 775 $(INSTALLDIR)/templates || exit 0                                  [ -d $(INSTALLDIR)/templates ] || mkdir -m 775 $(INSTALLDIR)/templates || exit 0
81                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(INSTALLDIR)/templates                                  $(INSTALL) -p -o $(SUSER) -g $(WEBGROUP) -m 640 $? $(INSTALLDIR)/templates
82    
83  tmp:  tmp:
84                                    [ -d $(XMLDIR) ] || mkdir -m 775 $(XMLDIR) || exit 0
85                                  [ -d $(TMPDIR) ] || mkdir -m 775 $(TMPDIR) || exit 0                                  [ -d $(TMPDIR) ] || mkdir -m 775 $(TMPDIR) || exit 0
86                                  [ -d $(TMPDIR)/cache ] || mkdir -m 775 $(TMPDIR)/cache || exit 0                                  [ -d $(TMPDIR)/cache ] || mkdir -m 775 $(TMPDIR)/cache || exit 0
87                                  [ -d $(TMPDIR)/compil ] || mkdir -m 775 $(TMPDIR)/compil || exit 0                                  [ -d $(TMPDIR)/compil ] || mkdir -m 775 $(TMPDIR)/compil || exit 0
88                                  chown $(WEBUSER) $(TMPDIR) $(TMPDIR)/cache $(TMPDIR)/compil                                  [ -d $(LOGDIR) ] || mkdir -m 775 $(LOGDIR) || exit 0
89                                    chown $(WEBUSER) $(TMPDIR) $(TMPDIR)/cache $(TMPDIR)/compil $(LOGDIR) $(XMLDIR)
90    
91  # ------------------------------------------------------------------------  # ------------------------------------------------------------------------
92    

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