IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3101


Ignore:
Timestamp:
Jan 27, 2005, 10:00:12 AM (21 years ago)
Author:
desonia
Message:

fixed erroneous generation of the config files.

Location:
branches/rel4/psLib/test/astronomy
Files:
4 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel4/psLib/test/astronomy/Makefile

    r3059 r3101  
    33##  Makefile:   test/astronomy
    44##
    5 ##  $Revision: 1.25.2.1 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2005-01-19 02:17:04 $
     5##  $Revision: 1.25.2.2 $  $Name: not supported by cvs2svn $
     6##  $Date: 2005-01-27 20:00:12 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3838         tst_psCoord \
    3939         tst_psAstrometry01
     40 
     41TARGET_CFG = test.psTime.config1 \
     42         test.psTime.config2 \
     43         test.psTime.config3 \
     44         test.psTime.config4
    4045
    4146OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
    4247
    43 all: $(TARGET)
    44         sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
    45         sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
    46         sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
    47         sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
     48all: $(TARGET) $(TARGET_CFG)
     49
     50test.psTime.config1: test.psTime.config1.template
     51        sed 's|PREFIX|$(prefix)|' $< > $@
     52
     53test.psTime.config2: test.psTime.config2.template
     54        sed 's|PREFIX|$(prefix)|' $< > $@
     55
     56test.psTime.config3: test.psTime.config3.template
     57        sed 's|PREFIX|$(prefix)|' $< > $@
     58
     59test.psTime.config4: test.psTime.config4.template
     60        sed 's|PREFIX|$(prefix)|' $< > $@
    4861
    4962clean:
     
    5265
    5366distclean: clean
    54         $(RM) $(TARGET)
     67        $(RM) $(TARGET) $(TARGET_CFG)
    5568
    56 install: $(testbindir) $(testbindir)/verified $(TARGET)
    57         install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
     69install: $(testbindir) $(testbindir)/verified $(TARGET) $(TARGET_CFG)
     70        install header_1.fits header_2.fits $(TARGET) $(testbindir)
    5871        install verified/*.stderr verified/*.stdout $(testbindir)/verified
    59         install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
     72        install test.config test.ser7.dat $(TARGET_CFG) $(testbindir)
    6073
    6174$(testbindir):
Note: See TracChangeset for help on using the changeset viewer.