Commit 6c4472e122f8df7e1542a7a8f5088e1b78e89f70
1 parent
a63be67d
distribute scripts
Showing
1 changed file
with
15 additions
and
2 deletions
src/Makefile.am
| 1 | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | 2 | |
| 3 | 3 | # Set sub directories |
| 4 | -SUBDIRS = ctselect ctbin ctlike ctobssim | |
| 4 | +SUBDIRS = ctselect \ | |
| 5 | + ctbin \ | |
| 6 | + ctlike \ | |
| 7 | + ctobssim | |
| 8 | + | |
| 9 | +# Scripts to be distributed | |
| 10 | +scripts = ctatools-setup \ | |
| 11 | + ctatools-init.sh \ | |
| 12 | + ctatools-init.csh | |
| 5 | 13 | |
| 6 | 14 | # Build libtool library for CTA tools. This is needed to provide |
| 7 | 15 | # a shared library that can be loaded for python bindings. We do |
| ... | ... | @@ -9,6 +17,11 @@ SUBDIRS = ctselect ctbin ctlike ctobssim |
| 9 | 17 | lib_LTLIBRARIES = libctatools.la |
| 10 | 18 | libctatools_la_SOURCES = |
| 11 | 19 | libctatools_la_LIBADD = ctbin/libctbin.la \ |
| 12 | - ctselect/libctselect.la \ | |
| 20 | + ctselect/libctselect.la \ | |
| 13 | 21 | ctlike/libctlike.la \ |
| 14 | 22 | ctobssim/libctobssim.la |
| 23 | + | |
| 24 | +# Distribute scripts | |
| 25 | +EXTRA_DIST = $(scripts) | |
| 26 | +scriptsdir = $(bindir) | |
| 27 | +scripts_DATA = $(scripts) | ... | ... |