#1 Use autotools for build under linux

open
nobody
None
2
2008-11-07
2008-10-12
Alexey Torkhov
No

I'm suggesting you to use autotools for building under linux. It'll simple distribution and installation.

Discussion

    • status: open --> closed
     
  • I don't know how to use autotools properly, did try to do it, but could find no way of moving the whole data directory without having to write each and every subdir and file into several Makefile.am files. If you know anyone who want to make it build with autotools I'll be happy to take their contribution.

     
  • Alexey Torkhov
    Alexey Torkhov
    2008-10-15

    We are using code like:

    dist-hook:
    mkdir -p $(distdir)
    (cd $(top_srcdir)/data && tar cf - `find . -name \*.ext` | ( cd $(current) && cd $(distdir) && tar xf -))
    (cd $(top_srcdir)/data && tar cf - `find . -name \*.ext2` | ( cd $(current) && cd $(distdir) && tar xf -))

    install-data-local:
    mkdir -p $(DESTDIR)$(datadir)/proj/data
    (cd $(top_srcdir)/data && tar cf - `find . -name \*.ext`) | (cd $(DESTDIR)$(datadir)/proj/data && tar xpf -)

    uninstall-local:
    find $(DESTDIR)$(datadir)/proj/data -name \*.ext | xargs rm -f

     
  • Alexey Torkhov
    Alexey Torkhov
    2008-10-15

    • status: closed --> open
     
  • Thank you for the response, I'll see to it in the future, this item will be closed when I do get it to work :)

     
    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed
     
    • status: closed --> open
     
    • priority: 5 --> 2