diff options
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r-- | scripts/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 981689b..9f94a0c 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -19,14 +19,15 @@ EXTRA_DIST = \ calfuse.sh \ calfuse.wavecal \ cf_make_900_obs.csh \ - cf_make_all.csh \ + cf_make_all.csh.in \ cf_make_all_obs.csh \ idl_obsplot.pl \ idlplot_rate.pl \ idlplot_spex.pl CLEANFILES = cfsetup.csh \ - cfsetup.sh + cfsetup.sh \ + cf_make_all.csh do_subst = sed -e 's,[@]DATADIR[@],$(pkgdatadir)-$(VERSION),g' \ -e 's,[@]PREFIX[@],$(prefix),g' \ @@ -39,3 +40,7 @@ cfsetup.csh: cfsetup.csh.in Makefile cfsetup.sh: cfsetup.sh.in Makefile $(do_subst) < cfsetup.sh.in > cfsetup.sh chmod +x cfsetup.sh + +cf_make_all.csh: cf_make_all.csh.in Makefile + $(do_subst) < cf_make_all.csh.in > cf_make_all.csh + chmod +x cf_make_all.csh |