[xmlsec] distclean issue

Aleksey Sanin aleksey at aleksey.com
Fri Jun 6 15:52:58 PDT 2003


John,

Please, try the attached patch. If it would work for you then I'll check 
it in CVS.

Thanks,
Aleksey

John Belmonte wrote:

> Aleksey,
>
> It seems that the configure script makes build files even for disabled 
> crypto flavors, but then distclean does not clean them.  This is 
> probably why there are extraneous files in the release package (such 
> as src/nss/.deps/), and is causing problems for Debian packaging which 
> relies heavily on diffs.
>
> Can this be corrected?
>
> Regards,
> -John
>
>
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /cvs/gnome/xmlsec/configure.in,v
retrieving revision 1.70
diff -u -r1.70 configure.in
--- configure.in	5 Jun 2003 02:13:48 -0000	1.70
+++ configure.in	6 Jun 2003 22:54:44 -0000
@@ -931,18 +931,27 @@
 rm -f rm COPYING.LIB COPYING
 ln -s $srcdir/Copyright COPYING
 
+if test "$OPENSSL_WITHOUT" = "no"
+then
+AC_OUTPUT([include/xmlsec/openssl/Makefile src/openssl/Makefile])
+fi
+
+if test "$GNUTLS_WITHOUT" = "no"
+then
+AC_OUTPUT([include/xmlsec/gnutls/Makefile src/gnutls/Makefile])
+fi
+
+if test "$NSS_WITHOUT" = "no"
+then
+AC_OUTPUT([include/xmlsec/nss/Makefile src/nss/Makefile])
+fi
+
 AC_OUTPUT([
 include/xmlsec/version.h
 Makefile
 include/Makefile
 include/xmlsec/Makefile
-include/xmlsec/openssl/Makefile
-include/xmlsec/gnutls/Makefile
-include/xmlsec/nss/Makefile
 src/Makefile
-src/openssl/Makefile
-src/gnutls/Makefile
-src/nss/Makefile
 apps/Makefile
 docs/Makefile
 docs/api/Makefile


More information about the xmlsec mailing list