IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 25, 2006, 2:40:40 PM (20 years ago)
Author:
jhoblitt
Message:

fix out of tree builds & properly distribute test data files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/Makefile.am

    r8958 r8960  
    44        $(top_builddir)/test/tap/src/libtap.la \
    55        $(PSLIB_LIBS)
    6 
    7 check_DATA = \
    8         pslib.config \
    9         test.psTime.config1 \
    10         test.psTime.config2 \
    11         test.psTime.config3 \
    12         test.psTime.config4 \
    13         test.ser7.dat
    146
    157TEST_PROGS =
     
    2214endif
    2315
    24 CLEANFILES = $(check_DATA) temp/* core core.* *~ *.bb *.bbg *.da gmon.out
     16EXTRA_DIST = \
     17        data/psTime.config.template \
     18        data/test.psTime.config1.template \
     19        data/test.psTime.config2.template \
     20        data/test.psTime.config3.template \
     21        data/test.psTime.config4.template \
     22        data/test.ser7.dat
    2523
    26 pslib.config: $(top_srcdir)/etc/pslib/pslib.config.template
     24tmp_files = \
     25        pslib.config \
     26        test.psTime.config1 \
     27        test.psTime.config2 \
     28        test.psTime.config3 \
     29        test.psTime.config4 \
     30        test.ser7.dat
     31
     32CLEANFILES = $(tmp_files) core core.* *~ *.bb *.bbg *.da gmon.out
     33
     34pslib.config: $(top_srcdir)/etc/pslib.config.template
    2735        $(PERL) -pe 's|DATADIR|$(top_srcdir)/share|' $? > $@
    2836
    29 test.psTime.config1: data/test.psTime.config1.template
     37test.psTime.config1: $(srcdir)/data/test.psTime.config1.template
    3038        cp $? $@
    3139
    32 test.psTime.config2: data/test.psTime.config2.template
     40test.psTime.config2: $(srcdir)/data/test.psTime.config2.template
    3341        $(PERL) -pe 's|PREFIX|$(top_srcdir)|' $? > $@
    3442
    35 test.psTime.config3: data/test.psTime.config3.template
     43test.psTime.config3: $(srcdir)/data/test.psTime.config3.template
    3644        $(PERL) -pe 's|PREFIX|$(top_srcdir)|' $? > $@
    3745
    38 test.psTime.config4: data/test.psTime.config4.template
     46test.psTime.config4: $(srcdir)/data/test.psTime.config4.template
    3947        cp $? $@
    4048
    41 test.ser7.dat: data/test.ser7.dat
     49test.ser7.dat: $(srcdir)/data/test.ser7.dat
    4250        cp $? $@
    4351
Note: See TracChangeset for help on using the changeset viewer.