Update configure files for cleaning

This commit is contained in:
Mikaël Ates 2011-08-30 18:46:19 +02:00
parent 97386c9e33
commit 66289b46cf
4 changed files with 12 additions and 9 deletions

View File

@ -13,8 +13,9 @@ EXTRA_DIST = COPYING cryptic.pc.in autogen.sh autoregen.sh gtk-doc.make
# clean nromal + rm -f cryptic.pc
#-rm si rm échoue pas de blocage...
clean-local:
-rm -f cryptic.pc
-rm -f cryptic.pc aclocal.m4 config.* configure cryptic-src-config depcomp install-sh libtool ltmain.sh Makefile Makefile.in stamp-h1
-rm -rf autom4te.cache missing
dist-hook:
-rm -rf `find $(distdir) -name .svn`
-rm -rf `find $(distdir) -name .git`

View File

@ -13,9 +13,7 @@ endif
#SUBDIRS += perl
#endif
CLEANFILES = bindings.pyc lang_java.pyc lang_python.pyc lang_php5.pyc \
utils.pyc lang_php5_helpers/__init__.pyc lang_php5_helpers/php_code.pyc \
lang_php5_helpers/wrapper_header.pyc lang_php5_helpers/wrapper_source.pyc
CLEANFILES = *.pyc Makefile Makefile.in
EXTRA_DIST = bindings.py \
overrides.xml \

View File

@ -67,6 +67,10 @@ $(java_cryptic_source_files) com_entrouvert_cryptic_CrypticJNI.c: wrapper_top.c
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py $(BINDING_OPTION) -l java --src-dir=$(top_srcdir)/cryptic/ $(EXTRA_ARGS) && cp $(srcdir)/GObject.java com/entrouvert/cryptic
clean-local:
-rm -f *.pyc com_entrouvert_cryptic_CrypticJNI.* cryptic.jar Makefile Makefile.in
-rm -rf com
#doc-publish: doc
# tar czf doc.tgz -C doc .
# scp doc.tgz bdauvergne@perso.entrouvert.org:
@ -74,9 +78,9 @@ $(java_cryptic_source_files) com_entrouvert_cryptic_CrypticJNI.c: wrapper_top.c
# rm doc.tgz
#$(TESTS) \
MOSTLYCLEANFILES = com_entrouvert_cryptic_CrypticJNI.c com_entrouvert_cryptic_CrypticJNI.h \
com/entrouvert/cryptic/* cryptic.jar *.class \
__init__.pyc lang.pyc
#MOSTLYCLEANFILES = com_entrouvert_cryptic_CrypticJNI.c com_entrouvert_cryptic_CrypticJNI.h \
# com/entrouvert/cryptic/* cryptic.jar *.class \
# __init__.pyc lang.pyc
# Some of the following classes are built only if junit is available

View File

@ -28,6 +28,6 @@ cryptic.py _cryptic.c: lang.py wrapper_top.c wrapper_bottom.c ../bindings.py
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l python --src-dir=$(top_srcdir)/cryptic/ $(EXTRA_ARGS)
clean-local:
-rm -f cryptic.py cryptic.pyc _cryptic.c
-rm -f cryptic.py cryptic.pyc _cryptic.c Makefile Makefile.in
endif