4 exec_prefix = @exec_prefix@
5 BINDIR = ${exec_prefix}/@bindir@
12 -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
13 -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
15 install: do_install missing
16 @echo "******************************************************************"
17 @echo "the following programs have been installed in" ${BINDIR}
19 @echo " $$ progname -h"
20 @echo "for individual options"
22 @grep Usage install.log | sed "s/ *Usage./ /"
23 @echo " (written to install.log)"
25 -@if test -s missing.log; then \
26 echo "the following programs could not be made/installed"; \
27 sed "s/^/ /" missing.log; \
28 echo " (written to missing.log)"; \
31 @echo "browse index.html for documentation"
35 @test -d ${BINDIR} || (echo "${BINDIR} does not exist")
36 @test -d ${BINDIR} -a -n "${FC}" && (cd source_f && $(MAKE) install)
37 @test -d ${BINDIR} -a -n "${CC}" && (cd source_c && $(MAKE) install)
41 -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
42 -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
45 -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
46 -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
49 -(cd source_f && $(MAKE) $@)
50 -(cd source_c && $(MAKE) $@)
51 -@rm -f install.log missing.log config.*
52 -find . \( -name "*~" -o -name "#*#" -o -name "*.o" \
53 -o -name "lib*.a" \) -exec rm -f {} \;
56 -rm -f *.zip *.tar.gz *.tar.bz2 *.ZIP
57 -find . \( -name "Makefile" -o -name "stdin_*" -o -name tr \
63 -(file=`basename $$PWD`; \
66 zip -r $$file.zip $$file; \
68 ls -l `dirname $$PWD`/$$file.zip )
71 -(file=`basename $$PWD`; \
73 tar -vchf $$file.tar $$file; \
74 gzip -vf $$file.tar; \
76 ls -l `dirname $$PWD`/$$file.tar.gz )
79 -(file=`basename $$PWD`; \
81 tar -vchf $$file.tar $$file; \
82 bzip2 -vf $$file.tar; \
84 ls -l `dirname $$PWD`/$$file.tar.bz2 )