Initial revision
authorDavid J. MacKenzie <djm@gnu.org>
Mon, 19 Sep 1994 14:02:51 +0000 (14:02 +0000)
committerDavid J. MacKenzie <djm@gnu.org>
Mon, 19 Sep 1994 14:02:51 +0000 (14:02 +0000)
automake.in [new file with mode: 0755]
dist-subd.am [new file with mode: 0644]
dist.am [new file with mode: 0644]
header.am [new file with mode: 0644]
lib/am/header.am [new file with mode: 0644]

diff --git a/automake.in b/automake.in
new file mode 100755 (executable)
index 0000000..02ac6cd
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+status=0
+
+for makefile
+do
+  if test ! -f ${makefile}.am; then
+    echo "automake: ${makefile}.am: No such honkin' file"
+    status=1
+    continue
+  fi
+
+  exec 4> ${makefile}.in
+
+done
diff --git a/dist-subd.am b/dist-subd.am
new file mode 100644 (file)
index 0000000..b82e5f4
--- /dev/null
@@ -0,0 +1,6 @@
+dist: $(DISTFILES)
+       mkdir ../`cat ../.fname`/src; chmod 777 ../`cat ../.fname`/src
+       @echo "Copying distribution files"
+       @for file in $(DISTFILES); do \
+         cp -p $(srcdir)/$$file ../`cat ../.fname`/src; \
+       done
diff --git a/dist.am b/dist.am
new file mode 100644 (file)
index 0000000..f65adfd
--- /dev/null
+++ b/dist.am
@@ -0,0 +1,11 @@
+dist: $(DISTFILES)
+       (cd $(srcdir); pwd) | sed 's|.*/||' > .fname
+       rm -rf `cat .fname`; mkdir `cat .fname`; chmod 777 `cat .fname`
+       @echo "Copying distribution files"
+       @for file in $(DISTFILES); do \
+         cp -p $(srcdir)/$$file `cat .fname`; \
+       done
+       for subdir in $(SUBDIRS); do (cd $$subdir; $(MAKE) $@); done
+       chmod -R a+r `cat .fname`
+       tar chozf `cat .fname`.tar.gz `cat .fname`
+       rm -rf `cat .fname` .fname
diff --git a/header.am b/header.am
new file mode 100644 (file)
index 0000000..53d659d
--- /dev/null
+++ b/header.am
@@ -0,0 +1,23 @@
+# Makefile generated automatically by automake from Makefile.am.
+# Copyright (C) 1994 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+SHELL = /bin/sh
+
+srcdir = @srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
diff --git a/lib/am/header.am b/lib/am/header.am
new file mode 100644 (file)
index 0000000..53d659d
--- /dev/null
@@ -0,0 +1,23 @@
+# Makefile generated automatically by automake from Makefile.am.
+# Copyright (C) 1994 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+SHELL = /bin/sh
+
+srcdir = @srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@