You are not logged in.
If one has a pacman.git repository (from http://projects.archlinux.org/ ), how does one make the pacman-${pkgver}.tar.gz that reproduces the one available from ftp://ftp.archlinux.org/other/pacman/$p … ver.tar.gz ??
Is there a script in the pacman.git that I'm not seeing?
Last edited by rdt (2008-06-07 04:11:18)
Offline
I have never done this but it is probably something like
./autoconf.sh
./configure
make dist
once you have check out the right branch.
Offline
I have never done this but it is probably something like
./autoconf.sh ./configure make dist
once you have check out the right branch.
Yep, thats about right. I also make sure I build first with asciidoc enabled so the most recent manpages end up in the tarball, as well as updating any version info necessary in configure.ac.
Offline
These are both good advice, they just don't work in a pacman git repository.
There is an autogen.sh script in the directory that contains (in part):
aclocal
autoheader
automake --foreign
autoconf
After running this, './configure --help | grep doc' shows (in part):
--disable-doc prevent make from looking at doc/ dir
--enable-doxygen build your own API docs via Doxygen
--enable-asciidoc build your own manpages with Asciidoc
So, I tried (all in a clean copy) :
./autogen.sh
./configure --enable-ascidoc
make dist
AND
./autogen.sh
./configure --enable-doxygen
make dist
AND
./autogen.sh
./configure --disable-doc
make dist
and they ALL give the same error message:
make[1]: Entering directory `/....../pacman/try/doc'
make[1]: *** No rule to make target `pacman.8', needed by `distdir'. Stop.
Last edited by rdt (2008-06-08 16:38:50)
Offline
Well, the reason that the asciidoc failed is because asciidoc (from community) was not installed. So, I installed it, still failed but because xsltproc was not present. Turns out asciidoc depends upon python (which was installed), but 'python-xlml' was needed, but not specified as a dependancy. So after installing python-xlml, I still get an error about:
"I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
So probably some other dep. still not present.
The --disable-doc doesn't work because it doesn't disable going into the doc dir for the dist & distdir targets as doc is coded on the end of the DIST_SUBDIRS unlike the usage of am__append_1 on SUBDIRS Of course the docs are needed for the tar file thats why.
Last edited by rdt (2008-06-08 17:58:04)
Offline
I'm sure python-xlml is not needed. I don't have it installed and can do this.
Offline