| 1 |
# Makefile for amplot. |
| 2 |
|
| 3 |
include $(top_srcdir)/config/automake/vars.am |
| 4 |
include $(top_srcdir)/config/automake/scripts.am |
| 5 |
include $(top_srcdir)/config/automake/installperms.am |
| 6 |
include $(top_srcdir)/config/automake/precompile.am |
| 7 |
|
| 8 |
SCRIPTS_SHELL = amplot |
| 9 |
SCRIPTS_AWK = amcat.awk |
| 10 |
|
| 11 |
sbin_SCRIPTS = $(SCRIPTS_SHELL) |
| 12 |
amplotdir = $(amlibexecdir) |
| 13 |
amplot_DATA = $(SCRIPTS_AWK) amplot.awk amplot.g amplot.gp |
| 14 |
|
| 15 |
EXTRA_DIST += amplot.awk amplot.g |
| 16 |
|
| 17 |
CLEANFILES += amplot.gp.new $(SCRIPTS_SHELL) $(SCRIPTS_AWK) |
| 18 |
DISTCLEANFILES += amplot.gp config.log |
| 19 |
|
| 20 |
amplot.gp: amplot.g |
| 21 |
cat $(srcdir)/amplot.g > amplot.gp.new |
| 22 |
echo "pause -1;" >> amplot.gp.new |
| 23 |
rm -f amplot.gp |
| 24 |
mv amplot.gp.new amplot.gp |