From e6f5010bc5e8b3f7a0979e2751e79b896712bc7c Mon Sep 17 00:00:00 2001 From: "David J. MacKenzie" Date: Mon, 19 Sep 1994 14:02:13 +0000 Subject: [PATCH] Initial revision --- dist-subd.am | 6 ++++++ dist.am | 11 +++++++++++ header.am | 23 +++++++++++++++++++++++ lib/am/header.am | 23 +++++++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 dist-subd.am create mode 100644 dist.am create mode 100644 header.am create mode 100644 lib/am/header.am diff --git a/dist-subd.am b/dist-subd.am new file mode 100644 index 00000000..b82e5f4f --- /dev/null +++ b/dist-subd.am @@ -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 index 00000000..f65adfdf --- /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 index 00000000..53d659db --- /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 index 00000000..53d659db --- /dev/null +++ b/lib/am/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@ -- 2.43.5