10 date 2010.03.06.16.39.08; author jmp; state Exp;
16 date 2010.03.06.16.39.08; author jmp; state Exp;
22 date 2010.03.06.16.39.08; author jmp; state Exp;
27 date 2010.03.06.16.39.08; author jmp; state Exp;
32 date 2010.03.06.16.39.08; author jmp; state Exp;
38 @#--------------------------------------------------------------------
39 #To make a debugging executable
42 @@ for i in $(SUBDIRS) ; \
44 echo "Doing: $$i $@@"; \
45 $(MAKE) -C $$i $@@ ; \
47 if [ $$RETVAL != 0 ] ; then \
52 #To clean distribution
54 @@ for i in $(SUBDIRS) ; \
56 echo "Doing now \"$$i $@@\"" ; \
57 $(MAKE) -s -C $$i $@@ ; \
61 #--------------------------------------------------------------------
62 #installing application
64 @@ install -d $(DESTDIR)/usr/sbin/
65 @@ install -d $(DESTDIR)/var/lock/$(APPNAME)
67 @@ install app/vzgot $(DESTDIR)/usr/sbin
68 @@ mv shell/vzgot.mksrvz $(DESTDIR)/usr/sbin/
69 @@ mv shell/vzgot.redoall $(DESTDIR)/usr/sbin/
71 @@ install -d $(DESTDIR)/etc/rc.d/init.d
72 @@ cp -ap conf/redhat_init.sh $(DESTDIR)/etc/rc.d/init.d/vzgot
73 @@ #adding configuration file
74 @@ install -d $(DESTDIR)/etc/$(APPNAME)
75 @@ install -m 0644 conf/vzgot_config $(DESTDIR)/etc/$(APPNAME)
76 @@ install -m 0644 conf/vzgot_list $(DESTDIR)/etc/$(APPNAME)
77 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)
78 @@ cp -ap etc $(DESTDIR)/var/lib/$(APPNAME)
79 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/etc/ssh
80 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/etc/sysconfig
81 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/home
82 @@ cp -ap cgroup.d $(DESTDIR)/var/lib/$(APPNAME)
83 @@ #adding template directory
84 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/vztemplate
85 @@ #adding special distribution RPM
86 @@ cp -ap RPM $(DESTDIR)/var/lib/$(APPNAME)
87 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/vzdir
88 @@ #adding application shell script
89 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/shell
90 @@ install shell/vzgot.* $(DESTDIR)/var/lib/$(APPNAME)/shell
92 #--------------------------------------------------------------------
96 #===================================================================
97 #all support information
99 #--------------------------------------------------------------------
102 REVISION="$Revision: 0.84.0.0 $ "
103 DATE="$Date: 2010/03/06 16:38:31 $"
104 VERS=`echo $(REVISION) | cut -d' ' -f 2 | cut -d'.' -f1,2`
105 REL=`echo $(REVISION) | cut -d' ' -f 2 | cut -d'.' -f4`
106 SUBVERS=`echo $(DATE) | cut -d' ' -f2 | tr -d '/'`
107 APLR=$(APPNAME)-$(VERS).$(REL)
108 #--------------------------------------------------------------------
117 @#--------------------------------------------------------------------
118 #To make a debugging executable
121 @@ for i in $(SUBDIRS) ; \
123 echo "Doing: $$i $@@"; \
124 $(MAKE) -C $$i $@@ ; \
126 if [ $$RETVAL != 0 ] ; then \
131 #To clean distribution
133 @@ for i in $(SUBDIRS) ; \
135 echo "Doing now \"$$i $@@\"" ; \
136 $(MAKE) -s -C $$i $@@ ; \
140 #--------------------------------------------------------------------
141 #installing application
143 @@ install -d $(DESTDIR)/usr/sbin/
144 @@ install -d $(DESTDIR)/var/lock/$(APPNAME)
145 @@ #adding executable
146 @@ install app/vzgot $(DESTDIR)/usr/sbin
147 @@ mv shell/vzgot.mksrvz $(DESTDIR)/usr/sbin/
148 @@ mv shell/vzgot.redoall $(DESTDIR)/usr/sbin/
150 @@ install -d $(DESTDIR)/etc/rc.d/init.d
151 @@ cp -ap conf/redhat_init.sh $(DESTDIR)/etc/rc.d/init.d/vzgot
152 @@ #adding configuration file
153 @@ install -d $(DESTDIR)/etc/$(APPNAME)
154 @@ install -m 0644 conf/vzgot_config $(DESTDIR)/etc/$(APPNAME)
155 @@ install -m 0644 conf/vzgot_list $(DESTDIR)/etc/$(APPNAME)
156 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)
157 @@ cp -ap etc $(DESTDIR)/var/lib/$(APPNAME)
158 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/etc/ssh
159 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/etc/sysconfig
160 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/home
161 @@ cp -ap cgroup.d $(DESTDIR)/var/lib/$(APPNAME)
162 @@ #adding template directory
163 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/vztemplate
164 @@ #adding special distribution RPM
165 @@ cp -ap RPM $(DESTDIR)/var/lib/$(APPNAME)
166 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/vzdir
167 @@ #adding application shell script
168 @@ install -d $(DESTDIR)/var/lib/$(APPNAME)/shell
169 @@ install shell/vzgot.* $(DESTDIR)/var/lib/$(APPNAME)/shell
171 #--------------------------------------------------------------------
175 #===================================================================
176 #all support information
178 #--------------------------------------------------------------------
181 REVISION="$Revision: 0.83.0.1 $ "
182 DATE="$Date: 2010/03/06 16:39:08 $"
183 VERS=`echo $(REVISION) | cut -d' ' -f 2 | cut -d'.' -f1,2`
184 REL=`echo $(REVISION) | cut -d' ' -f 2 | cut -d'.' -f4`
185 SUBVERS=`echo $(DATE) | cut -d' ' -f2 | tr -d '/'`
186 APLR=$(APPNAME)-$(VERS).$(REL)
187 #--------------------------------------------------------------------
193 @Ratrapage numero de Version
198 REVISION="$Revision: 0.84 $ "
205 #=================================================================================
210 REVISION="$Revision: 0.84.0.0 $ "
211 DATE="$Date: 2010/03/06 16:38:31 $"
217 @Ratrapage numero de Version
222 REVISION="$Revision: 0.83 $ "
223 DATE="$Date: 2010/03/06 16:39:08 $"
229 @Mise en place su GIT
234 REVISION="$Revision: 0.83.0.0 $ "