Changeset 736 for trunk/Makefile


Ignore:
Timestamp:
11/24/05 14:19:42 (19 years ago)
Author:
mar637
Message:

changes to dist target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r692 r736  
    1 PREFIX := /usr/local
     1PREFIX := /usr
    22PYDIR := $(PREFIX)/lib/python2.3/site-packages
    33
     
    3636
    3737datadist:
    38         @cd $(CASAROOT)/; cd ..
    39         @pwd
    40         @echo "Generating ASAP data archive from aips++ installation."
    41         @tar cfj $(ASAPROOT)/$(DISTDIR)/share/data.tar.bz2 data/ephemerides data/geodetic
    42         @cd $(ASAPROOT)
    43         @echo "Done."
     38        @echo "Generating ASAP data archive from aips++ installation..."
     39        @cd $(CASAROOT); tar cfj $(ASAPROOT)/$(DISTDIR)/share/data.tar.bz2 data/ephemerides data/geodetic
     40        @echo "...done."
    4441
    4542
     
    5451        @cp -f share/ipythonrc-asap $(DISTDIR)/share/
    5552        make datadist
    56         #@cp -f $(DISTDIR)/doc/README .
    57         #@cp -f $(DISTDIR)/admin/install.sh .
     53        @cp -f doc/README $(DISTDIR)/
     54        @cp -f admin/install.sh $(DISTDIR)/bin/
    5855        @echo "Creating compressed archive..."
    5956        @tar jcf $(DISTDIR).tar.bz2 $(DISTDIR)
     57        @rm -rf $(DISTDIR)/
    6058        @echo "Successfully created binary package" $(DISTDIR).tar.bz2
    6159
Note: See TracChangeset for help on using the changeset viewer.