Commit 10f4411a293e4ecd1d23b8abd136377d3a90b0fe
1 parent
078b70c1
Set EXTRA_DIST for correct tarball building
Showing
11 changed files
with
64 additions
and
26 deletions
Makefile.am
| ... | ... | @@ -31,8 +31,8 @@ doc_DATA = \ |
| 31 | 31 | docdir = ${datadir}/doc/${PACKAGE} |
| 32 | 32 | |
| 33 | 33 | # Extra files to be distributed in the tar file |
| 34 | -#EXTRA_DIST = autogen.sh \ | |
| 35 | -# gammalib.pc.in | |
| 34 | +EXTRA_DIST = README.md \ | |
| 35 | + doc/Doxyfile doc/source | |
| 36 | 36 | |
| 37 | 37 | #install-data-local: $(HTML_INSTALL_DATA_TARGETS) |
| 38 | 38 | #uninstall-local: $(HTML_UNINSTALL_DATA_TARGETS) | ... | ... |
examples/Makefile.am
inst/Makefile.am
inst/com/Makefile.am
| ... | ... | @@ -42,8 +42,13 @@ libcom_la_SOURCES = $(sources) |
| 42 | 42 | libcom_la_LDFLAGS = |
| 43 | 43 | |
| 44 | 44 | # Distribute calibration database files |
| 45 | -EXTRA_DIST = $(caldb_indx) $(caldb_irfs) | |
| 46 | 45 | caldbindxdir = $(datadir)/caldb/data/cgro/comptel |
| 47 | 46 | caldbindx_DATA = $(caldb_indx) |
| 48 | 47 | caldbirfsdir = $(datadir)/caldb/data/cgro/comptel/bcf |
| 49 | 48 | caldbirfs_DATA = $(caldb_irfs) |
| 49 | + | |
| 50 | +# Extra files to be distributed in the tar file | |
| 51 | +EXTRA_DIST = README.md caldb pyext \ | |
| 52 | + include/GCOMLib.hpp \ | |
| 53 | + src/GCOMSupport.hpp \ | |
| 54 | + test/test_COM.hpp test/test_COM.py test/data | ... | ... |
inst/cta/Makefile.am
| ... | ... | @@ -134,3 +134,9 @@ caldb_prod2_south2dir = $(datadir)/caldb/data/cta/prod2/bcf/South_5h |
| 134 | 134 | caldb_prod2_south2_DATA = caldb/data/cta/prod2/bcf/South_5h/irf_file.fits.gz |
| 135 | 135 | caldb_prod2_south3dir = $(datadir)/caldb/data/cta/prod2/bcf/South_50h |
| 136 | 136 | caldb_prod2_south3_DATA = caldb/data/cta/prod2/bcf/South_50h/irf_file.fits.gz |
| 137 | + | |
| 138 | +# Extra files to be distributed in the tar file | |
| 139 | +EXTRA_DIST = README.md caldb pyext \ | |
| 140 | + include/GCTALib.hpp \ | |
| 141 | + src/GCTAResponse_helpers.hpp src/GCTASupport.hpp \ | |
| 142 | + test/test_CTA.hpp test/test_CTA.py test/caldb test/data | ... | ... |
inst/lat/Makefile.am
| ... | ... | @@ -227,7 +227,6 @@ liblat_la_SOURCES = $(sources) |
| 227 | 227 | liblat_la_LDFLAGS = |
| 228 | 228 | |
| 229 | 229 | # Distribute calibration database files |
| 230 | -EXTRA_DIST = $(caldb_indx) $(caldb_add) $(caldb_ea) $(caldb_edisp) $(caldb_psf) | |
| 231 | 230 | caldbindxdir = $(datadir)/caldb/data/glast/lat |
| 232 | 231 | caldbindx_DATA = $(caldb_indx) |
| 233 | 232 | caldbadddir = $(datadir)/caldb/data/glast/lat/bcf |
| ... | ... | @@ -238,3 +237,8 @@ caldbedispdir = $(datadir)/caldb/data/glast/lat/bcf/edisp |
| 238 | 237 | caldbedisp_DATA = $(caldb_edisp) |
| 239 | 238 | caldbpsfdir = $(datadir)/caldb/data/glast/lat/bcf/psf |
| 240 | 239 | caldbpsf_DATA = $(caldb_psf) |
| 240 | + | |
| 241 | +# Extra files to be distributed in the tar file | |
| 242 | +EXTRA_DIST = README.md caldb pyext \ | |
| 243 | + include/GLATLib.hpp \ | |
| 244 | + test/test_LAT.hpp test/test_LAT.py test/data | ... | ... |
inst/mwl/Makefile.am
| ... | ... | @@ -30,3 +30,8 @@ pkginclude_HEADERS = include/GMWLException.hpp \ |
| 30 | 30 | noinst_LTLIBRARIES = libmwl.la |
| 31 | 31 | libmwl_la_SOURCES = $(sources) |
| 32 | 32 | libmwl_la_LDFLAGS = |
| 33 | + | |
| 34 | +# Extra files to be distributed in the tar file | |
| 35 | +EXTRA_DIST = README.md pyext \ | |
| 36 | + include/GMWLLib.hpp \ | |
| 37 | + test/test_MWL.hpp test/test_MWL.py test/data | ... | ... |
pyext/Makefile.am
| ... | ... | @@ -73,7 +73,6 @@ testdata = ../test/data/initial_coords.txt \ |
| 73 | 73 | ../test/data/file.fits.gz |
| 74 | 74 | |
| 75 | 75 | # Distribute scripts |
| 76 | -EXTRA_DIST = $(testscripts) $(testdata) | |
| 77 | 76 | testscriptsdir = $(pyexecdir)/gammalib/tests |
| 78 | 77 | testscripts_DATA = $(testscripts) |
| 79 | 78 | testdatadir = $(pyexecdir)/gammalib/tests/data |
| ... | ... | @@ -102,10 +101,10 @@ if WITH_INST_CTA |
| 102 | 101 | testdc1cta_DATA = $(testdc1cta) |
| 103 | 102 | endif |
| 104 | 103 | |
| 105 | -# Sources that are required for the build. All targets in the list will be built | |
| 106 | -# before anything. These are honored by 'make all', 'make check' and 'make install'. | |
| 107 | -# We use this here to make sure that all these targets are build by swig before we | |
| 108 | -# start compiling the Python modules. | |
| 104 | +# Sources that are required for the build. All targets in the list will be | |
| 105 | +# built before anything. These are honored by 'make all', 'make check' and | |
| 106 | +# 'make install'. We use this here to make sure that all these targets are | |
| 107 | +# build by swig before we start compiling the Python modules. | |
| 109 | 108 | BUILT_SOURCES = gammalib/app_wrap.cpp gammalib/app.py \ |
| 110 | 109 | gammalib/base_wrap.cpp gammalib/base.py \ |
| 111 | 110 | gammalib/fits_wrap.cpp gammalib/fits.py \ |
| ... | ... | @@ -122,12 +121,16 @@ BUILT_SOURCES = gammalib/app_wrap.cpp gammalib/app.py \ |
| 122 | 121 | gammalib/vo_wrap.cpp gammalib/vo.py \ |
| 123 | 122 | $(INST_SWIG_TARGETS) |
| 124 | 123 | |
| 124 | +# Extra files to be distributed in the tar file | |
| 125 | +EXTRA_DIST = $(wildcard *.i) $(wildcard gammalib/*.i) gammalib/tests \ | |
| 126 | + $(BUILT_SOURCES) | |
| 127 | + | |
| 125 | 128 | # Dependencies. Obtain the list of dependencies by executing ls. |
| 126 | 129 | DEPFILES = $(shell ls gammalib/*.Pi 2> /dev/null) |
| 127 | 130 | include $(DEPFILES) |
| 128 | 131 | |
| 129 | -# Set files to be removed in clean. We remove only the SWIG interface files if SWIG | |
| 130 | -# is available to rebuild them. | |
| 132 | +# Set files to be removed in clean. We remove only the SWIG interface files | |
| 133 | +# if SWIG is available to rebuild them. | |
| 131 | 134 | if HAVE_SWIG |
| 132 | 135 | CLEAN_FILES = $(BUILT_SOURCES) |
| 133 | 136 | endif | ... | ... |
src/fits/Makefile.am
src/linalg/Makefile.am
test/Makefile.am
| ... | ... | @@ -103,78 +103,82 @@ TESTS = test_GSupport \ |
| 103 | 103 | $(INST_MWL) $(INST_CTA) $(INST_LAT) $(INST_COM) \ |
| 104 | 104 | $(TEST_PYTHON_SCRIPT) |
| 105 | 105 | |
| 106 | +# Extra files to be distributed in the tar file | |
| 107 | +EXTRA_DIST = data reports testinst \ | |
| 108 | + README.md $(wildcard test_*.py) | |
| 109 | + | |
| 106 | 110 | # Standard test sources and links |
| 107 | -test_GSupport_SOURCES = test_GSupport.cpp | |
| 111 | +test_GSupport_SOURCES = test_GSupport.cpp test_GSupport.hpp | |
| 108 | 112 | test_GSupport_LDFLAGS = @LDFLAGS@ |
| 109 | 113 | test_GSupport_CPPFLAGS = @CPPFLAGS@ |
| 110 | 114 | test_GSupport_LDADD = $(top_srcdir)/src/libgamma.la |
| 111 | 115 | # |
| 112 | -test_GVector_SOURCES = test_GVector.cpp | |
| 116 | +test_GVector_SOURCES = test_GVector.cpp test_GVector.hpp | |
| 113 | 117 | test_GVector_LDFLAGS = @LDFLAGS@ |
| 114 | 118 | test_GVector_CPPFLAGS = @CPPFLAGS@ |
| 115 | 119 | test_GVector_LDADD = $(top_srcdir)/src/libgamma.la |
| 116 | 120 | # |
| 117 | -test_GMatrix_SOURCES = test_GMatrix.cpp | |
| 121 | +test_GMatrix_SOURCES = test_GMatrix.cpp test_GMatrix.hpp | |
| 118 | 122 | test_GMatrix_LDFLAGS = @LDFLAGS@ |
| 119 | 123 | test_GMatrix_CPPFLAGS = @CPPFLAGS@ |
| 120 | 124 | test_GMatrix_LDADD = $(top_srcdir)/src/libgamma.la |
| 121 | 125 | # |
| 122 | -test_GMatrixSparse_SOURCES = test_GMatrixSparse.cpp | |
| 126 | +test_GMatrixSparse_SOURCES = test_GMatrixSparse.cpp test_GMatrixSparse.hpp | |
| 123 | 127 | test_GMatrixSparse_LDFLAGS = @LDFLAGS@ |
| 124 | 128 | test_GMatrixSparse_CPPFLAGS = @CPPFLAGS@ |
| 125 | 129 | test_GMatrixSparse_LDADD = $(top_srcdir)/src/libgamma.la |
| 126 | 130 | # |
| 127 | -test_GMatrixSymmetric_SOURCES = test_GMatrixSymmetric.cpp | |
| 131 | +test_GMatrixSymmetric_SOURCES = test_GMatrixSymmetric.cpp test_GMatrixSymmetric.hpp | |
| 128 | 132 | test_GMatrixSymmetric_LDFLAGS = @LDFLAGS@ |
| 129 | 133 | test_GMatrixSymmetric_CPPFLAGS = @CPPFLAGS@ |
| 130 | 134 | test_GMatrixSymmetric_LDADD = $(top_srcdir)/src/libgamma.la |
| 131 | 135 | # |
| 132 | -test_GNumerics_SOURCES = test_GNumerics.cpp | |
| 136 | +test_GNumerics_SOURCES = test_GNumerics.cpp test_GNumerics.hpp | |
| 133 | 137 | test_GNumerics_LDFLAGS = @LDFLAGS@ |
| 134 | 138 | test_GNumerics_CPPFLAGS = @CPPFLAGS@ |
| 135 | 139 | test_GNumerics_LDADD = $(top_srcdir)/src/libgamma.la |
| 136 | 140 | # |
| 137 | -test_GFits_SOURCES = test_GFits.cpp | |
| 141 | +test_GFits_SOURCES = test_GFits.cpp test_GFits.hpp | |
| 138 | 142 | test_GFits_LDFLAGS = @LDFLAGS@ |
| 139 | 143 | test_GFits_CPPFLAGS = @CPPFLAGS@ |
| 140 | 144 | test_GFits_LDADD = $(top_srcdir)/src/libgamma.la |
| 141 | 145 | # |
| 142 | -test_GXml_SOURCES = test_GXml.cpp | |
| 146 | +test_GXml_SOURCES = test_GXml.cpp test_GXml.hpp | |
| 143 | 147 | test_GXml_LDFLAGS = @LDFLAGS@ |
| 144 | 148 | test_GXml_CPPFLAGS = @CPPFLAGS@ |
| 145 | 149 | test_GXml_LDADD = $(top_srcdir)/src/libgamma.la |
| 146 | 150 | # |
| 147 | -test_GVO_SOURCES = test_GVO.cpp | |
| 151 | +test_GVO_SOURCES = test_GVO.cpp test_GVO.hpp | |
| 148 | 152 | test_GVO_LDFLAGS = @LDFLAGS@ |
| 149 | 153 | test_GVO_CPPFLAGS = @CPPFLAGS@ |
| 150 | 154 | test_GVO_LDADD = $(top_srcdir)/src/libgamma.la |
| 151 | 155 | # |
| 152 | -test_GXspec_SOURCES = test_GXspec.cpp | |
| 156 | +test_GXspec_SOURCES = test_GXspec.cpp test_GXspec.hpp | |
| 153 | 157 | test_GXspec_LDFLAGS = @LDFLAGS@ |
| 154 | 158 | test_GXspec_CPPFLAGS = @CPPFLAGS@ |
| 155 | 159 | test_GXspec_LDADD = $(top_srcdir)/src/libgamma.la |
| 156 | 160 | # |
| 157 | -test_GApplication_SOURCES = test_GApplication.cpp | |
| 161 | +test_GApplication_SOURCES = test_GApplication.cpp test_GApplication.hpp | |
| 158 | 162 | test_GApplication_LDFLAGS = @LDFLAGS@ |
| 159 | 163 | test_GApplication_CPPFLAGS = @CPPFLAGS@ |
| 160 | 164 | test_GApplication_LDADD = $(top_srcdir)/src/libgamma.la |
| 161 | 165 | # |
| 162 | -test_GModel_SOURCES = test_GModel.cpp | |
| 166 | +test_GModel_SOURCES = test_GModel.cpp test_GModel.hpp | |
| 163 | 167 | test_GModel_LDFLAGS = @LDFLAGS@ |
| 164 | 168 | test_GModel_CPPFLAGS = @CPPFLAGS@ |
| 165 | 169 | test_GModel_LDADD = $(top_srcdir)/src/libgamma.la |
| 166 | 170 | # |
| 167 | -test_GSky_SOURCES = test_GSky.cpp | |
| 171 | +test_GSky_SOURCES = test_GSky.cpp test_GSky.hpp | |
| 168 | 172 | test_GSky_LDFLAGS = @LDFLAGS@ |
| 169 | 173 | test_GSky_CPPFLAGS = @CPPFLAGS@ |
| 170 | 174 | test_GSky_LDADD = $(top_srcdir)/src/libgamma.la |
| 171 | 175 | # |
| 172 | -test_GOptimizer_SOURCES = test_GOptimizer.cpp | |
| 176 | +test_GOptimizer_SOURCES = test_GOptimizer.cpp test_GOptimizer.hpp | |
| 173 | 177 | test_GOptimizer_LDFLAGS = @LDFLAGS@ |
| 174 | 178 | test_GOptimizer_CPPFLAGS = @CPPFLAGS@ |
| 175 | 179 | test_GOptimizer_LDADD = $(top_srcdir)/src/libgamma.la |
| 176 | 180 | # |
| 177 | -test_GObservation_SOURCES = test_GObservation.cpp | |
| 181 | +test_GObservation_SOURCES = test_GObservation.cpp test_GObservation.hpp | |
| 178 | 182 | test_GObservation_LDFLAGS = @LDFLAGS@ |
| 179 | 183 | test_GObservation_CPPFLAGS = @CPPFLAGS@ |
| 180 | 184 | test_GObservation_LDADD = $(top_srcdir)/src/libgamma.la | ... | ... |