Commit 4dc72cd89b355f8da94478106240209a5bb0f0ce
1 parent
681e4450
Include missing .i files in distribution (#2114)
Showing
1 changed file
with
7 additions
and
0 deletions
pyext/Makefile.am
| @@ -66,7 +66,10 @@ testscripts = ctools/tests/__init__.py \ | @@ -66,7 +66,10 @@ testscripts = ctools/tests/__init__.py \ | ||
| 66 | testdata = $(top_srcdir)/test/data/crab.xml \ | 66 | testdata = $(top_srcdir)/test/data/crab.xml \ |
| 67 | $(top_srcdir)/test/data/crab_events.fits.gz \ | 67 | $(top_srcdir)/test/data/crab_events.fits.gz \ |
| 68 | $(top_srcdir)/test/data/crab_cntmap.fits.gz \ | 68 | $(top_srcdir)/test/data/crab_cntmap.fits.gz \ |
| 69 | + $(top_srcdir)/test/data/phased_events.fits.gz \ | ||
| 69 | $(top_srcdir)/test/data/invalid_event_list.fits.gz \ | 70 | $(top_srcdir)/test/data/invalid_event_list.fits.gz \ |
| 71 | + $(top_srcdir)/test/data/model_temporal_phasecurve.xml \ | ||
| 72 | + $(top_srcdir)/test/data/obs_unbinned.xml \ | ||
| 70 | $(top_srcdir)/test/data/exclusion.reg | 73 | $(top_srcdir)/test/data/exclusion.reg |
| 71 | 74 | ||
| 72 | # Install test scripts and test data. Note that we don't need to prepend | 75 | # Install test scripts and test data. Note that we don't need to prepend |
| @@ -121,6 +124,9 @@ EXTRA_DIST = ctools/tests \ | @@ -121,6 +124,9 @@ EXTRA_DIST = ctools/tests \ | ||
| 121 | $(testscripts) \ | 124 | $(testscripts) \ |
| 122 | $(testdata) \ | 125 | $(testdata) \ |
| 123 | $(testirf) | 126 | $(testirf) |
| 127 | +dist-hook: | ||
| 128 | + cp -r $(srcdir)/*.i $(distdir) | ||
| 129 | + cp -r $(srcdir)/ctools/*.i $(distdir)/ctools | ||
| 124 | 130 | ||
| 125 | # Dependencies. Obtain the list of dependencies by executing ls. | 131 | # Dependencies. Obtain the list of dependencies by executing ls. |
| 126 | DEPFILES = $(shell ls *.Pi 2> /dev/null) | 132 | DEPFILES = $(shell ls *.Pi 2> /dev/null) |
| @@ -163,6 +169,7 @@ uninstall-local: | @@ -163,6 +169,7 @@ uninstall-local: | ||
| 163 | rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/*.pyc | 169 | rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/*.pyc |
| 164 | rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/__pycache__ | 170 | rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/__pycache__ |
| 165 | rm -rf $(DESTDIR)$(pyexecdir)/ctools-@VERSION@*.egg-info | 171 | rm -rf $(DESTDIR)$(pyexecdir)/ctools-@VERSION@*.egg-info |
| 172 | + rm -rf $(DESTDIR)$(datarootdir)/ctools | ||
| 166 | 173 | ||
| 167 | # Set files to be removed in 'make clean' | 174 | # Set files to be removed in 'make clean' |
| 168 | CLEANFILES = $(CLEAN_FILES) $(DEPFILES) | 175 | CLEANFILES = $(CLEAN_FILES) $(DEPFILES) |