aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2010-05-05 03:13:42 +0300
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:43 -0800
commit61af55884cfcb2ac70f42a9fc8dc68b3c343b402 (patch)
tree7159ecad56e23911f4c869d2f2e076c382378157 /debian/rules
parent3f111dfa0c6ef68339f1a5086342a53a66a4c57a (diff)
downloadslib-61af55884cfcb2ac70f42a9fc8dc68b3c343b402.zip
slib-61af55884cfcb2ac70f42a9fc8dc68b3c343b402.tar.gz
Import Debian changes 3b1-3.1debian/3b1-3.1
slib (3b1-3.1) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". * debian/compat - Update to 7. * debian/control - (Build-Depends-Indep): Update to debhelper 7.1. - (Depends): add ${misc:Depends}. - (Homepage): New field. - (Standards-Version): update to 3.8.4. + slib - (Depends): add ${misc:Depends}, install-info. - (Priority): remove inherited field. - (Section): remove inherited field. * debian/copyright - Update "more information" URL. * debian/doc-base - (Section): Remove obsolete top-level "Apps/". * debian/prerm - Remove path component from commands. - Remove obsolete install-docs, install-info commands. * debian/postinst - Remove obsolete install-docs, install-info commands. - Remove path component from commands. * debian/source/format - New file. * debian/watch - New file. [ Hideki Yamane (Debian-JP) <henrich@debian.or.jp> ] * debian/rules - (build): Rewrite make calls. - (binary-indep:): install *.html not slib/*.html to fix. It is useless to specify htmllib (FTBFS; Closes: #552911).
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 5 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index 64b0b29..eb91909 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,16 +17,14 @@ INSTALL_PROGRAM =$(INSTALL) -m 755 -o root -g root
INSTALL_DATA =$(INSTALL) -m 644 -o root -g root
INSTALL_MAN =$(INSTALL) -m 444 -o root -g root
-# Override definitions in upstream Makefile thus:
-prefix = debian/tmp/usr
-htmldir = slib/
TEXI2HTML = texi2html --split chapter --verbose
-makeoverrides = "prefix=$(prefix)" "htmldir=$(htmldir)" "TEXI2HTML=$(TEXI2HTML)"
build:
$(checkdir)
- make $(makeoverrides)
- make html $(makeoverrides)
+ # Run the "default target", whatever it be
+ $(MAKE) TEXI2HTML="$(TEXI2HTML)"
+ # Then run target "html"
+ $(MAKE) TEXI2HTML="$(TEXI2HTML)" html
touch build
clean:
@@ -75,7 +73,7 @@ binary-indep: checkroot build
gzip -9v debian/tmp/usr/share/doc/slib/README
$(INSTALL_DATA) FAQ debian/tmp/usr/share/doc/slib
gzip -9v debian/tmp/usr/share/doc/slib/FAQ
- $(INSTALL_DATA) slib/*.html debian/tmp/usr/share/doc/slib
+ $(INSTALL_DATA) *.html debian/tmp/usr/share/doc/slib
ln -s . debian/tmp/usr/share/slib/init
$(INSTALL_DATA) *.init debian/tmp/usr/share/slib