Skip to content

Commit 5e3d97a

Browse files
author
Geoffrey Challen
committed
Working on packaging.
1 parent 705316f commit 5e3d97a

File tree

5 files changed

+25
-9
lines changed

5 files changed

+25
-9
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@
66
*.swp
77
*.swo
88
*.o
9+
/bfd
10+
/binutils
11+
/etc
12+
/gas
13+
/intl
14+
/ld
15+
/libiberty
16+
/opcodes

Makefile.packaging

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export DISPLAY=
22

33
test: clean
44
gbp buildpackage --git-builder="debuild -us -uc"
5-
lintian packages/*.deb --fail-on-warnings
5+
lintian packages/*.deb --fail-on-warnings && lintian packages/*.dsc --fail-on-warnings
66
pbuilder-dist xenial build packages/*.dsc
77

88
sign: clean

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Source: binutils-mips-linux-os161
22
Section: utils
33
Priority: optional
44
Maintainer: Geoffrey Challen <geoffrey.challen@gmail.com>
5-
Build-Depends: debhelper (>= 9)
6-
Standards-Version: 3.9.5
5+
Build-Depends: debhelper (>= 9), bison, flex
6+
Standards-Version: 3.9.7
77
Homepage: http://www.eecs.harvard.edu/~dholland/os161/
88

99
Package: binutils-mips-linux-os161

debian/copyright

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
22
Upstream-Name: sys161
3-
Source: http://www.eecs.harvard.edu/~dholland/os161/
3+
Source: http://os161.eecs.harvard.edu/download/
44

55
Files: *
66
Copyright: 2000, 2001, 2002, 2009, 2010, 2013, David Holland <dholland@eecs.harvard.edu>
7-
License:
7+
License: Harvard
8+
9+
License: Harvard
810
/*
911
* Copyright (c) 2000, 2001, 2002, 2009, 2010, 2013
1012
* The President and Fellows of Harvard College.

debian/rules

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
#!/usr/bin/make -f
2-
# -*- makefile -*-
32

43
# Uncomment this to turn on verbose mode.
54
export DH_VERBOSE=1
65

6+
override_dh_update_autotools_config:
7+
78
override_dh_auto_configure:
89
find . -name '*.info' | xargs touch
910
touch intl/plural.c
1011
./configure --nfp --disable-werror --disable-nls --target=mips-harvard-os161 --prefix=/usr
1112

1213
override_dh_fixperms:
13-
dh_fixperms
14-
rm -f $(CURDIR)/debian/binutils-mips-linux-os161/usr/share/info/*
15-
cd $(CURDIR)/debian/binutils-mips-linux-os161/usr/bin/ && sh -c 'for i in mips-*; do ln -s $$i os161-`echo $$i | cut -d- -f4-`; done'
14+
dh_fixperms
15+
rm -f $(CURDIR)/debian/binutils-mips-linux-os161/usr/share/info/*
16+
cd $(CURDIR)/debian/binutils-mips-linux-os161/usr/bin/ && sh -c 'for i in mips-*; do ln -s $$i os161-`echo $$i | cut -d- -f4-`; done'
17+
18+
override_dh_auto_test:
19+
1620
%:
1721
dh $@
22+
23+
# vim: ts=2:sw=2:noet

0 commit comments

Comments
 (0)