Commit 976ad65a authored by salaun's avatar salaun
Browse files

Fix: some files were not listed in the SPEC files ; the SOAP server was not listed


git-svn-id: https://subversion.renater.fr/sympa/trunk@2143 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 6ce62816
......@@ -291,7 +291,7 @@ installsoap:
@(cd soap && echo "making in soap/..." && \
$(MAKE) SH='${SH}' CC='${CC}' CFLAGS='${CFLAGS}' PERL='${PERL}' \
DIR='${DIR}' BINDIR='${BINDIR}' SBINDIR='${SBINDIR}' LIBDIR='${LIBDIR}' \
USER='${USER}' GROUP='${GROUP}' \
USER='${USER}' GROUP='${GROUP}' SCRIPTDIR='${SCRIPTDIR}' \
CGIDIR='${CGIDIR}' WWSBINDIR='${WWSBINDIR}' MAILERPROGDIR='${MAILERPROGDIR}' \
PIDDIR='${PIDDIR}' CONFIG='${CONFIG}' WWSCONFIG='${WWSCONFIG}' ETCBINDIR='${ETCBINDIR}' \
DESTDIR='${DESTDIR}' USER='${USER}' GROUP='${GROUP}' ICONSDIR='${ICONSDIR}' newinstall) || exit 1;
......
......@@ -538,7 +538,7 @@ installsoap:
@(cd soap && echo "making in soap/..." && \
$(MAKE) SH='${SH}' CC='${CC}' CFLAGS='${CFLAGS}' PERL='${PERL}' \
DIR='${DIR}' BINDIR='${BINDIR}' SBINDIR='${SBINDIR}' LIBDIR='${LIBDIR}' \
USER='${USER}' GROUP='${GROUP}' \
USER='${USER}' GROUP='${GROUP}' SCRIPTDIR='${SCRIPTDIR}' \
CGIDIR='${CGIDIR}' WWSBINDIR='${WWSBINDIR}' MAILERPROGDIR='${MAILERPROGDIR}' \
PIDDIR='${PIDDIR}' CONFIG='${CONFIG}' WWSCONFIG='${WWSCONFIG}' ETCBINDIR='${ETCBINDIR}' \
DESTDIR='${DESTDIR}' USER='${USER}' GROUP='${GROUP}' ICONSDIR='${ICONSDIR}' newinstall) || exit 1;
......
......@@ -19,7 +19,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
cgi_SUBST = sympa_soap_server.fcgi sympa_soap_client.pl
cgi_SUBST = sympa_soap_server.fcgi
script_SUBST = sympa_soap_client.pl
lib_SUBST = sympasoap.pm SympaTransport.pm
......@@ -40,6 +42,10 @@ installmod:
chown $(USER) $(DESTDIR)$(ETCBINDIR)/$$i; \
chgrp $(GROUP) $(DESTDIR)$(ETCBINDIR)/$$i; \
done
@for i in $(script_SRC) ; do \
chown $(USER) $(DESTDIR)$(SCRIPTDIR)/$$i; \
chgrp $(GROUP) $(DESTDIR)$(SCRIPTDIR)/$$i; \
done
@for i in $(cgi_SUBST) ; do \
chown $(USER) $(DESTDIR)$(CGIDIR)/$$i; \
chgrp $(GROUP) $(DESTDIR)$(CGIDIR)/$$i; \
......@@ -58,6 +64,10 @@ makedir:
echo "Creating required directory $(DESTDIR)$(CGIDIR)"; \
mkdir -p $(DESTDIR)$(CGIDIR); \
fi
@if [ ! -d $(DESTDIR)$(SCRIPTDIR) ]; then \
echo "Creating required directory $(DESTDIR)$(SCRIPTDIR)"; \
mkdir -p $(DESTDIR)$(SCRIPTDIR); \
fi
@if [ ! -d $(DESTDIR)$(LIBDIR) ]; then \
echo "Creating required directory $(DESTDIR)$(LIBDIR)"; \
mkdir -p $(DESTDIR)$(LIBDIR); \
......
......@@ -282,7 +282,7 @@ done
# Documentation
%doc %attr(-,root,root) INSTALL README AUTHORS COPYING NEWS ChangeLog
%doc %attr(-,root,root) doc/sympa.tex doc/sympa.ps doc/sympa.pdf
%doc %attr(-,root,root) doc/html/*
%doc %attr(-,root,root) --DOCDIR--/*
%attr(-,root,root) %{_mandir}/man8/*
# Spools
......@@ -350,6 +350,7 @@ done
# Icons and binaries for Apache
--CGIDIR--/wwsympa.fcgi
--CGIDIR--/sympa_soap_server.fcgi
--ICONSDIR--/
# Init scripts
......@@ -357,7 +358,7 @@ done
# Examples
#%dir --SAMPLEDIR--
--SAMPLEDIR--/
#--SAMPLEDIR--/
%clean
......
......@@ -274,7 +274,7 @@ done
# Documentation
%doc %attr(-,root,root) INSTALL README AUTHORS COPYING NEWS ChangeLog
%doc %attr(-,root,root) doc/sympa.tex doc/sympa.ps doc/sympa.pdf
%doc %attr(-,root,root) doc/html/*
%doc %attr(-,root,root) --DOCDIR--/*
%attr(-,root,root) %{_mandir}/man8/*
# Spools
......@@ -342,6 +342,7 @@ done
# Icons and binaries for Apache
--CGIDIR--/wwsympa.fcgi
--CGIDIR--/sympa_soap_server.fcgi
--ICONSDIR--/
# Init scripts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment