I am looking to make a parrot rpm for mandrake and in same time, cleaning and 
beautify the spec in the parrot cvs, but I am lock because the make install 
and the MANIFEST.* generation doesn't works as it should:
- path are the same in MANIFEST.* and the install
- library are not installed
- path are mixing doc and other things
- mix parrot library file and .so files.

So the things I am thinking:

In MANIFEST{,.generated}: path/of/file  [package]dirmacro
where dirmacro is $(LIBDIR) $(BINDIR) $(INCLUDEDIR) $(PARROTLIBDIR).
But libparrot.so is in blib/lib, the installed path is expand to 
$(LIBDIR)/blib/lib, which is wrong, so only $(PARROTLIBDIR) should keep the 
full path, other should install the as PATH/`basename of file`:
blib/lib/libparrot.so => $(LIBDIR)/libparrot.so
whatever/file.pmc => $(PARROTLIBDIR)/whatever/file.pmc

Currently there is two scripts (mk_manifests.pl, install_files.pl) but it does 
not expand path in same way, so MANIFEST.* are wrong, I purpose to merge 
those two script and let install_files.pl genrerate MANIFEST*.

Only after cleaning the installation I will be able to make a parrot.spec as I 
promise on #parrot. Of course if you agree with this solution, I'll make a 
patch.

WDYT ? any comment ?

Attachment: pgpGQwS373qwk.pgp
Description: PGP signature

Reply via email to