aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-03-05 12:53:09 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-03-05 12:53:09 -0500
commit832b4b34ff8ce84a13751883c0822c16c152fe48 (patch)
treeedb4d7050c37ade55bc543de80e76e58c4486908 /scripts/Makefile.am
parent8f848043369b49e861942ce132181fed2c53c2d3 (diff)
downloadcalfuse-832b4b34ff8ce84a13751883c0822c16c152fe48.tar.gz
Massive rework
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
new file mode 100644
index 0000000..1f3b7d7
--- /dev/null
+++ b/scripts/Makefile.am
@@ -0,0 +1,30 @@
+bin_SCRIPTS = \
+ calfuse.wavecal \
+ cf_make_900_obs.csh \
+ cf_make_all.csh \
+ cf_make_all_obs.csh \
+ cfsetup.csh \
+ cfsetup.sh \
+ idl_obsplot.pl \
+ idlplot_rate.pl \
+ idlplot_spex.pl \
+ listhead \
+ listtra
+
+EXTRA_DIST = cfsetup.csh.in \
+ cfsetup.sh.in
+
+CLEANFILES = cfsetup.csh \
+ cfsetup.sh
+
+do_subst = sed -e 's,[@]DATADIR[@],$(datadir),g' \
+ -e 's,[@]PREFIX[@],$(prefix),g' \
+ -e 's,[@]VERSION[@],$(VERSION),g'
+
+cfsetup.csh: cfsetup.csh.in Makefile
+ $(do_subst) < cfsetup.csh.in > cfsetup.csh
+ chmod +x cfsetup.csh
+
+cfsetup.sh: cfsetup.sh.in Makefile
+ $(do_subst) < cfsetup.sh.in > cfsetup.sh
+ chmod +x cfsetup.sh