[PATCH 1/5] * add the dist methods

Xavier Oswald xoswald at gmail.com
Tue Aug 25 14:27:30 UTC 2009


On 15:43 Tue 25 Aug     , Frédéric-Emmanuel PICCA wrote:

You should have notice that there is a script/ directory, if you have time, you
can move what is in this directory to our script git
git.debian.org/git/lisaac/scripts.git
and remove this directory from the git compiler.

Thanks! 

> Signed-off-by: Frédéric-Emmanuel PICCA <picca at synchrotron-soleil.fr>
> ---
>  Makefile |   40 ++++++++++++++++++++++++++++++++++++++--
>  1 files changed, 38 insertions(+), 2 deletions(-)
> 

> diff --git a/Makefile b/Makefile
> index b1038ed..8bcbe0d 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -55,17 +55,43 @@
>  #  bug tracker system: https://gna.org/bugs/?func=additem&group=isaac
>  #  mail to: Xavier Oswald <x.oswald at free.fr>
>  
> +PROJECT=lisaac
> +VERSION_FULL=0.4.0
> +DIST_SRC=\
> +	Makefile \
> +	COPYING \
> +	Changelog \
> +	Not_yet_implemented \
> +	README \
> +	TODO \
> +	install_lisaac.c \
> +	install_lisaac.li \
> +	make.lip \
> +	bin \
> +	editor \
> +	example \
> +	lib \
> +	lib_os \
> +	manpage \
> +	shorter \
> +	src \
> +	tests
> +
>  PREFIX=/usr/local
>  MAN=$(PREFIX)/share/man/man1
>  DOC=$(PREFIX)/share/doc/lisaac
>  LIB=$(PREFIX)/share/lisaac
>  BIN=$(PREFIX)/bin
> -HTMLDOC=/html
> -DESTDIR=
> +HTML=/html
> +DESTDIR?=
>  
>  #CC=gcc
>  CFLAGS=-O2
>  
> +# do not change anything after this point
> +DIST_NAME=$(PROJECT)-$(VERSION_FULL)
> +export LISAAC_DIRECTORY=..
> +
>  all: bin/lisaac bin/shorter
>  
>  bin/path.h:
> @@ -113,4 +139,14 @@ uninstall:
>  clean:
>  	-rm -f path.h bin/lisaac bin/shorter
>  
> +dist: clean
> +	if ! test -d $(DIST_NAME) ; then mkdir $(DIST_NAME) ; fi
> +	cp -rf $(DIST_SRC) $(DIST_NAME)
> +	find $(DIST_NAME) \( -name .svn -o -name .git -o -name CVS -o -name .cvsignore -o -name *.jar \) -print0 | xargs -0 /bin/rm -rf
> +	tar -cjf $(DIST_NAME).tar.bz2 $(DIST_NAME)
> +	/bin/rm -rf $(DIST_NAME)
> +
> +distclean: clean
> +
> +
>  




> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel


-- 
  ,''`.  ** Xavier Oswald <xoswald at debian.org>                            
 : :' :  ** Research Engineer                                           
 `. `'   ** GNU/LINUX Debian Developer (http://debian.org)              
   `-    ** Isaac Project Developer (http://isaacproject.u-strasbg.fr/) 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/lisaac-devel/attachments/20090825/6e6f40d0/attachment.pgp>


More information about the Lisaac-devel mailing list