Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 1e39e05c authored by POGODALLA Sylvain's avatar POGODALLA Sylvain
Browse files

added a tar target to produce a tarball

parent a8ba0beb
...@@ -17,12 +17,14 @@ ...@@ -17,12 +17,14 @@
# # # #
########################################################################## ##########################################################################
PHONY: config byte opt clean superclean install PHONY: config byte opt clean superclean install tar
BINARIES=acgc acgc.opt acg acg.opt BINARIES=acgc acgc.opt acg acg.opt
RELEASE = $(shell date "+acg-%y-%m-%d")
AR_EXCLUDE =
DATE = $(\$Date: 2008-10-21 17:19:11 +0200 (Tue, 21 Oct 2008) \$:% =%)
prefix = @prefix@ prefix = @prefix@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@
...@@ -60,3 +62,9 @@ config: configure ...@@ -60,3 +62,9 @@ config: configure
configure: config/configure.ac configure: config/configure.ac
cd $(<D) && autoconf && mv configure .. & cd .. cd $(<D) && autoconf && mv configure .. & cd ..
tar: superclean
if test -a ../$(RELEASE) ; then rm ../$(RELEASE) ; fi
cd .. && ln -s trunk $(RELEASE) && cd trunk
tar cvfz $(RELEASE).tar.gz -C .. -h $(RELEASE) --exclude="*\.svn*" --exclude "$(RELEASE)/data" --exclude "$(RELEASE)/src/data" --exclude "$(RELEASE)/src/*.old" --exclude "$(RELEASE)/*.tar*"
if test -a ../$(RELEASE) ; then rm ../$(RELEASE) ; fi
./configure
Markdown is supported
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