Commit 4dc72cd89b355f8da94478106240209a5bb0f0ce

Authored by Jürgen Knödlseder
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 66 testdata = $(top_srcdir)/test/data/crab.xml \
67 67 $(top_srcdir)/test/data/crab_events.fits.gz \
68 68 $(top_srcdir)/test/data/crab_cntmap.fits.gz \
  69 + $(top_srcdir)/test/data/phased_events.fits.gz \
69 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 73 $(top_srcdir)/test/data/exclusion.reg
71 74  
72 75 # Install test scripts and test data. Note that we don't need to prepend
... ... @@ -121,6 +124,9 @@ EXTRA_DIST = ctools/tests \
121 124 $(testscripts) \
122 125 $(testdata) \
123 126 $(testirf)
  127 +dist-hook:
  128 + cp -r $(srcdir)/*.i $(distdir)
  129 + cp -r $(srcdir)/ctools/*.i $(distdir)/ctools
124 130  
125 131 # Dependencies. Obtain the list of dependencies by executing ls.
126 132 DEPFILES = $(shell ls *.Pi 2> /dev/null)
... ... @@ -163,6 +169,7 @@ uninstall-local:
163 169 rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/*.pyc
164 170 rm -rf $(DESTDIR)$(pyexecdir)/ctools/tests/__pycache__
165 171 rm -rf $(DESTDIR)$(pyexecdir)/ctools-@VERSION@*.egg-info
  172 + rm -rf $(DESTDIR)$(datarootdir)/ctools
166 173  
167 174 # Set files to be removed in 'make clean'
168 175 CLEANFILES = $(CLEAN_FILES) $(DEPFILES)
... ...