aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-29 17:01:15 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-11-29 17:01:15 +0000
commitd9467f3e7c69302243bb9064561d243ec308f4ff (patch)
tree4ce6a35cecb1257ba3ae04c6adf1ec6ae68fcda1
parentde6248606092da03c2323ebcbd7b43b47137fddc (diff)
downloadmig-d9467f3e7c69302243bb9064561d243ec308f4ff.tar.gz
mig-d9467f3e7c69302243bb9064561d243ec308f4ff.tar.bz2
mig-d9467f3e7c69302243bb9064561d243ec308f4ff.zip
2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
* Makefile.am (debian_files): Remove variable. (EXTRA_DIST): Remove files from `debian/'. * debian/README.Debian: Remove file. * debian/changelog: Likewise. * debian/control: Likewise. * debian/copyright: Likewise. * debian/rules: Likewise.
-rw-r--r--ChangeLog10
-rw-r--r--Makefile.am3
-rw-r--r--debian/README.Debian10
-rw-r--r--debian/changelog43
-rw-r--r--debian/control16
-rw-r--r--debian/copyright81
-rwxr-xr-xdebian/rules107
7 files changed, 11 insertions, 259 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c534a..56157de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makefile.am (debian_files): Remove variable.
+ (EXTRA_DIST): Remove files from `debian/'.
+ * debian/README.Debian: Remove file.
+ * debian/changelog: Likewise.
+ * debian/control: Likewise.
+ * debian/copyright: Likewise.
+ * debian/rules: Likewise.
+
2006-07-29 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
[patch #324]
diff --git a/Makefile.am b/Makefile.am
index e3f64bb..60afea0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,8 +4,7 @@ AUTOMAKE_OPTIONS = gnu
libexec_PROGRAMS = migcom
bin_SCRIPTS = mig
-debian_files = changelog control copyright README.Debian rules
-EXTRA_DIST = gensym.awk cpu.sym $(addprefix debian/, $(debian_files))
+EXTRA_DIST = gensym.awk cpu.sym
CLEANFILES = cpu.h *.sym[co]
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644
index d3901ef..0000000
--- a/debian/README.Debian
+++ /dev/null
@@ -1,10 +0,0 @@
-MiG for Debian
---------------
-
-This package contains the GNU Mach Interface Generator. In Debian, it
-is currently only useful in the GNU/Hurd system to generate stubs code
-from interface definition files in the GNU C library, the GNU Hurd,
-and GNU Mach.
-
-Marcus Brinkmann <brinkmd@debian.org>
-
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index cd1f85a..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,43 +0,0 @@
-
- * debian/control: Add Build-Depends.
-
-mig (1.3-2) unstable; urgency=low
-
- * New CVS snapshot.
- * debian/control: Add Uploaders.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Mon, 5 Aug 2002 00:13:00 +0200
-
-mig (1.3-1) unstable; urgency=low
-
- * New upstream release.
- * debian/control: Bump standards version.
- Update description.
- * debian/README: Update description.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Thu, 7 Mar 2002 21:55:43 +0100
-
-mig (1.2-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Fri, 8 Jun 2001 18:18:53 +0200
-
-mig (1.1-1) unstable; urgency=low
-
- * CVS snapshot from new upstream release.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Tue, 4 Jul 2000 21:58:26 +0200
-
-mig (1.0.2-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Mon, 24 May 1999 01:29:26 +0200
-
-mig (1.0.1-1) unstable; urgency=low
-
- * Initial Release.
- * Added patch by Roland McGrath to have CC or CPP set.
-
- -- Marcus Brinkmann <brinkmd@debian.org> Mon, 19 Apr 1999 00:42:10 +0200
diff --git a/debian/control b/debian/control
deleted file mode 100644
index f64a09b..0000000
--- a/debian/control
+++ /dev/null
@@ -1,16 +0,0 @@
-Source: mig
-Section: devel
-Priority: standard
-Maintainer: GNU Hurd Maintainers <bug-hurd@gnu.org>
-Standards-Version: 3.5.6.0
-Build-Depends: flex
-Uploaders: Marcus Brinkmann <brinkmd@debian.org>
-
-Package: mig
-Section: devel
-Priority: standard
-Architecture: hurd-i386
-Depends: ${shlibs:Depends}
-Description: GNU Mach Interface Generator
- This is the GNU distribution of the MIG, which is needed to compile
- the GNU C library, the GNU Hurd and GNU Mach.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index 29ab2d8..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,81 +0,0 @@
-This is the Debian GNU/Linux prepackaged version of GNU MIG.
-MIG was written by Carnegie Mellon university, University of Utah, and GNU.
-See the source code for details on who contributed what.
-
-This package was put together by
-Marcus Brinkmann <brinkmd@debian.org>
-from sources obtained from:
- ftp://alpha.gnu.org/pub/gnu/hurd/src
-
-The source code is covered by the following copyrights:
-
-/*
- * Mach Operating System
- * Copyright (c) 1991,1990 Carnegie Mellon University
- * All Rights Reserved.
- *
- * Permission to use, copy, modify and distribute this software and its
- * documentation is hereby granted, provided that both the copyright
- * notice and this permission notice appear in all copies of the
- * software, derivative works or modified versions, and any portions
- * thereof, and that both notices appear in supporting documentation.
- *
- * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
- * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
- * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * Carnegie Mellon requests users of this software to return to
- *
- * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
- * School of Computer Science
- * Carnegie Mellon University
- * Pittsburgh PA 15213-3890
- *
- * any improvements or extensions that they make and grant Carnegie the
- * rights to redistribute these changes.
- */
-
-/*
- * Copyright (c) 1994 The University of Utah and
- * the Computer Systems Laboratory at the University of Utah (CSL).
- * All rights reserved.
- *
- * Permission to use, copy, modify and distribute this software is hereby
- * granted provided that (1) source code retains these copyright, permission,
- * and disclaimer notices, and (2) redistributions including binaries
- * reproduce the notices in supporting documentation, and (3) all advertising
- * materials mentioning features or use of this software display the following
- * acknowledgement: `This product includes software developed by the
- * Computer Systems Laboratory at the University of Utah.''
- *
- * THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
- * IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
- * ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
- *
- * CSL requests users of this software to return to csl-dist@cs.utah.edu any
- * improvements that they make and grant CSL redistribution rights.
- *
- * Author: Bryan Ford, University of Utah CSL
- */
-
-/* alloca.c -- allocate automatically reclaimed memory
- (Mostly) portable public-domain implementation -- D A Gwyn */
-
-Some files are covered by the following copyright:
-
- 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; version 2 dated June, 1991.
-
- 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in /usr/share/common-licenses/GPL'.
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index 35a220e..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/usr/bin/make -f
-############################ -*- Mode: Makefile -*- ###########################
-## rules ---
-## Author : Marcus Brinkmann <brinkmd@debian.org>
-## Created On : Mon, 19 Apr 1999 00:42:31 +0200
-## Created On Node : localhost
-## Last Modified By : Marcus Brinkmann <brinkmd@debian.org>
-## Last Modified On : Mon, 19 Apr 1999 00:42:31 +0200
-## Last Machine Used: localhost
-## Update Count : 0
-## Status : Unknown, Use with caution!
-## HISTORY :
-## Description :
-##
-###############################################################################
-
-# The name of the package (for example, `emacs').
-package := mig
-
-# Configuration variables (these should be pretty generic)
-CC = cc
-CFLAGS = -O2 -g -pipe -Wall
-LDFLAGS = -s
-PREFIX = /usr
-BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/man
-DOCDIR = $(PREFIX)/share/doc/$(package)
-PERLDIR = $(PREFIX)/lib/perl5
-
-# Package specific stuff. The idea is to try to make the rules
-# generic (gradually).
-
-FILES_TO_CLEAN = debian/files debian/substvars
-DIRS_TO_CLEAN = debian/tmp* build
-STAMPS_TO_CLEAN = stamp-build stamp-binary stamp-configure
-
-install_file= install -o root -g root -m 644
-install_program= install -s -o root -g root -m 755
-install_script= install -o root -g root -m 755
-make_directory= install -d -o root -g root -m 755
-
-DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-
-define checkdir
- test -f debian/rules
-endef
-
-define checkroot
- @test 0 = "`id -u`" || (echo need root priviledges; exit 1)
-endef
-
-all build: stamp-build
-
-configure: stamp-configure
-stamp-configure:
- -mkdir build
- cd build && ../configure --prefix=/usr --libexecdir=/usr/lib/mig/ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
- touch stamp-configure
-
-stamp-build: configure
- $(checkdir)
- # build package
- cd build && $(MAKE) CCOPTIONS="$(CFLAGS)"
- touch stamp-build
-
-clean:
- $(checkdir)
- -cd build && test -f Makefile && $(MAKE) clean
- -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN)
- -rm -rf $(DIRS_TO_CLEAN)
- -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
- -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
- -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
-
-binary: binary-indep binary-arch
-
-binary-indep:
-
-binary-arch: stamp-binary
-stamp-binary: build
- $(checkroot)
- $(checkdir)
- -rm -rf debian/tmp
-
- $(make_directory) debian/tmp/DEBIAN
- cd build && $(MAKE) install prefix=`pwd`/../debian/tmp/usr libexecdir=`pwd`/../debian/tmp/usr/lib/mig
- strip --strip-all --remove-section=.note --remove-section=.comment debian/tmp/usr/lib/mig/migcom
- find debian/tmp/usr -type d | xargs chmod 0755
-
- # copy doc files but not INSTALL, it won't be needed
- # compress all but copyright
- $(make_directory) debian/tmp/$(DOCDIR)
- $(install_file) README debian/tmp/$(DOCDIR)
- $(install_file) NEWS debian/tmp/$(DOCDIR)
- $(install_file) debian/README.Debian debian/tmp/$(DOCDIR)/README.Debian
- $(install_file) debian/changelog debian/tmp/$(DOCDIR)/changelog.Debian
- $(install_file) ChangeLog debian/tmp/$(DOCDIR)/changelog
- gzip -9frq debian/tmp/$(DOCDIR)/.
- $(install_file) debian/copyright debian/tmp/$(DOCDIR)/copyright
-
- dpkg-shlibdeps debian/tmp/usr/lib/mig/migcom
- dpkg-gencontrol -isp -p$(package) -Pdebian/tmp
- chown -R root.root debian/tmp
- dpkg --build debian/tmp ..
-
-.PHONY: build clean binary-indep binary-arch binary configure