diff options
author | David Schleef <ds@schleef.org> | 2001-11-10 12:02:35 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2001-11-10 12:02:35 +0000 |
commit | 534a83fcf6edb644f1785091c2838c2e2915148e (patch) | |
tree | 6385c51850c09cff593aaa865a8bc3a1bbf48ec6 /debian/rules | |
parent | 577acda65c42ea3570dd4bb94ed6ab086891b49b (diff) |
Limited Debian architectures to the ones we can actually build.
Improved mksnapshot script; now adds a bogus changelog entry.
Added fixlinks script that automatically converts symlinks to
conform to Debian policy and updated rules to use it. Added
another bogus man page, prolonging the pretense that I'll actually
write real ones.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 5fa9072f7..c20391979 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,9 @@ p_lib=libuclibc0$(target_suffix) p_gcc=uclibc$(target_suffix)-toolchain debian/control: debian/control.in debian/rules - sed s/_TARGET_/$(target_suffix)/ debian/control.in >debian/control + sed -e s/_TARGET_/$(target_suffix)/ \ + -e "s/_ARCHS_/i386 powerpc mipsel sh m68k arm/" \ + debian/control.in >debian/control build: build-stamp build-stamp: debian/control @@ -99,6 +101,8 @@ install: build debian/control debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-ldd.1 install -m 644 debian/uclibc-ldconfig.1 \ debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-ldconfig.1 + install -m 644 debian/uclibc-readelf.1 \ + debian/$(p_lib)/usr/share/man/man1/$(target)-uclibc-readelf.1 ifeq ($(with_shared_libs),y) ifeq ($(target),$(DEB_HOST_GNU_CPU)) @@ -130,6 +134,9 @@ binary-arch: build install # dh_undocumented dh_installchangelogs dh_link + cd debian/libuclibc0 && ../fixlinks + cd debian/libuclibc-dev && ../fixlinks + cd debian/uclibc-toolchain && ../fixlinks dh_strip dh_compress dh_fixperms -Xld-uClibc |