Re: [opensc-devel] Don't dump wiki content into distribution package.

2010-09-25 Thread Alon Bar-Lev
We discussed this a few years ago.

Building a package should not access the web.
Once you checkout a fresh checkout, you should be able to build
distribution tarball even if you have no access to internet.

What I recommended, and still am, is to split the tarballs into two.

open...@package_version@.tar.gz
opensc-do...@package_version@.tar.gz

Making the opensc package be pure standard package, without the
complexity introduced from fetching stuff from the web.

I can do this if you like.

Alon.

On Fri, Sep 24, 2010 at 2:35 PM, Martin Paljak mar...@paljak.pri.ee wrote:
 Hello,

 I tried to simplify the way documentation (that is, manpages) is built and 
 removed the trickery that was used to dump the wiki content to the source 
 tarball.

 Unfortunately make distcheck fails in doc directory and I can't figure out 
 why. Could anyone with better autotools-fu skills have a look?

 The patch against current trunk is available online [1] at pastebin.

 [1] http://pastebin.com/iZLrBywD
 --
 @MartinPaljak.net
 +3725156495

 ___
 opensc-devel mailing list
 opensc-devel@lists.opensc-project.org
 http://www.opensc-project.org/mailman/listinfo/opensc-devel

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Don't dump wiki content into distribution package.

2010-09-25 Thread Martin Paljak
Hello,

On Sat, Sep 25, 2010 at 11:58, Alon Bar-Lev alon.bar...@gmail.com wrote:
 Building a package should not access the web.
 Once you checkout a fresh checkout, you should be able to build
 distribution tarball even if you have no access to internet.
 What I recommended, and still am, is to split the tarballs into two.

 open...@package_version@.tar.gz
 opensc-do...@package_version@.tar.gz

The intention is to *remove* the wiki fetching. I don't believe in
packaging wiki as a useful form of static documentation (until we're
at the level quality of being able to print the wiki into a book, like
Wikipedia does/did)

 Making the opensc package be pure standard package, without the
 complexity introduced from fetching stuff from the web.
I think the only complexity was because of xsltproc. building man
pages from xml is simple.

 I can do this if you like.
Please have a look at the patch. It should be OK as it is (make
dist/make install works), but distcheck is failing.
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


[opensc-devel] Don't dump wiki content into distribution package.

2010-09-24 Thread Martin Paljak
Hello,

I tried to simplify the way documentation (that is, manpages) is built and 
removed the trickery that was used to dump the wiki content to the source 
tarball.

Unfortunately make distcheck fails in doc directory and I can't figure out 
why. Could anyone with better autotools-fu skills have a look?

The patch against current trunk is available online [1] at pastebin.

[1] http://pastebin.com/iZLrBywD
-- 
@MartinPaljak.net
+3725156495

___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Don't dump wiki content into distribution package.

2010-09-24 Thread Ludovic Rousseau
2010/9/24 Martin Paljak mar...@paljak.pri.ee:
 Hello,

 I tried to simplify the way documentation (that is, manpages) is built and 
 removed the trickery that was used to dump the wiki content to the source 
 tarball.

 Unfortunately make distcheck fails in doc directory and I can't figure out 
 why. Could anyone with better autotools-fu skills have a look?

I also have a problem

make[2]: *** Pas de règle pour fabriquer la cible « man/*.1 »,
nécessaire pour « distdir ». Arrêt.

I guess it is because the man/*.1 files are generated by make but when
this rule is used the files are not yet present (or not at the correct
place).
I will try to have a look.

Bye

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel


Re: [opensc-devel] Don't dump wiki content into distribution package.

2010-09-24 Thread Peter Stuge
Ludovic Rousseau wrote:
 make[2]: *** Pas de règle pour fabriquer la cible « man/*.1 »,
 nécessaire pour « distdir ». Arrêt.
 
 I guess it is because the man/*.1 files are generated by make but when
 this rule is used the files are not yet present (or not at the correct
 place).
 I will try to have a look.

It would be great to not have more than one level of make, and use
includes for subdirectories. That way make can apply rules in the
correct order.


//Peter
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Re: [opensc-devel] Don't dump wiki content into distribution package.

2010-09-24 Thread Ludovic Rousseau
2010/9/24 Peter Stuge pe...@stuge.se:
 Ludovic Rousseau wrote:
 make[2]: *** Pas de règle pour fabriquer la cible « man/*.1 »,
 nécessaire pour « distdir ». Arrêt.

 I guess it is because the man/*.1 files are generated by make but when
 this rule is used the files are not yet present (or not at the correct
 place).
 I will try to have a look.

 It would be great to not have more than one level of make, and use
 includes for subdirectories. That way make can apply rules in the
 correct order.

Have you noticed an compilation order problem?
Do you have the bug number of this issue?

Thanks

-- 
 Dr. Ludovic Rousseau
___
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel