Commit 6c4472e122f8df7e1542a7a8f5088e1b78e89f70

Authored by knodlseder
1 parent a63be67d

distribute scripts

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