summaryrefslogtreecommitdiff
path: root/scripts.am
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1995-11-22 00:24:48 +0000
committerTom Tromey <tromey@redhat.com>1995-11-22 00:24:48 +0000
commit0d3b9eeb683822c3a2d35700337912fa385537e7 (patch)
tree1bb0310028327fb734923c3995b07feb371d2182 /scripts.am
parent0c8a0585e8062ec16a8e41c1d1fa733242cf123e (diff)
downloadautomake-0d3b9eeb683822c3a2d35700337912fa385537e7.tar.gz
Initial revision
Diffstat (limited to 'scripts.am')
-rw-r--r--scripts.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts.am b/scripts.am
new file mode 100644
index 000000000..10b38fcff
--- /dev/null
+++ b/scripts.am
@@ -0,0 +1,18 @@
+# FIXME: consider install scripts in "install-data"?
+
+install:: install-scripts
+
+install-scripts: $(SCRIPTS)
+ $(top_srcdir)/mkinstalldirs $(bindir)
+ scripts="$(SCRIPTS)"; \
+ for p in $$scripts; do \
+ $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
+
+uninstall:: uninstall-scripts
+
+uninstall-scripts:
+ scripts="$(SCRIPTS)"; \
+ for p in $$scripts; do \
+ rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done