Commit e37d5728 authored by Joachim Wiedorn's avatar Joachim Wiedorn

Use simple rules with dh 7 in debian/rules

parent 099a27a2
......@@ -38,8 +38,10 @@ lilo (1:23.1-1) unstable; urgency=low
* debian/patches:
- Add new patches for Debian.
- Add patches for simple rules using dh 7.
* debian/rules:
- Use simple rules with dh 7 capabilities.
-- Joachim Wiedorn <ad_debian@joonet.de> Thu, 18 Nov 2010 20:32:02 +0100
-- Joachim Wiedorn <ad_debian@joonet.de> Thu, 18 Nov 2010 23:30:42 +0100
lilo (1:22.8-8.3) unstable; urgency=high
......
debian/manpages/liloconfig.8
debian/manpages/lilo.real.8
debian/manpages/lilo-uuid-diskid.8
debian/manpages/update-lilo.8
man/keytab-lilo.8
......
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/quilt/quilt.make
BUILD_DIR=`pwd`/debian
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: $(QUILT_STAMPFN)
dh_testdir
@if [ -r $$ROOT/etc/lilo.defines ]; then \
echo "******************************************"; \
echo "WARNING: lilo.defines overwriting defaults"; \
fi
#make LDFLAGS="-s"
make all
make docs
#make -C doc user.ps tech.ps
touch build
clean: unpatch
dh_testdir
make spotless
-rm -f build debian/files debian/lilo.substvars debian/substvars debian/*~ *~
-rm -f doc/*.dvi doc/*.ps doc/*.aux doc/*.toc doc/*.log
-rm -rf debian/lilo debian/lilo-doc debian/*.debhelper debian/patched
# Make sure that we provide up-to-date POT and PO files
debconf-updatepo
binary-indep: build
dh_testdir
binary-arch: build
dh_testdir
rm -rf debian/$(BUILD_DIR)/lilo
dh_installdirs -plilo -P$(BUILD_DIR)/lilo
install -g root -m 755 -o root lilo debian/lilo/sbin/lilo.real
install -g root -m 755 -o root mkrescue debian/lilo/usr/sbin/
install -g root -m 755 -o root debian/lilo.sh debian/lilo/sbin/lilo
install -g root -m 755 -o root activate debian/lilo/sbin/
install -g root -m 755 -o root keytab-lilo.pl debian/lilo/usr/sbin/keytab-lilo
install -g root -m 755 -o root debian/liloconfig debian/lilo/usr/sbin/
install -g root -m 755 -o root debian/lilo_find_mbr debian/lilo/usr/sbin/
install -g root -m 755 -o root debian/lilo.initramfs-post-update \
debian/lilo/etc/initramfs/post-update.d/lilo
install -g root -m 755 -o root debian/lilo.kernel-postinst \
debian/lilo/etc/kernel/postinst.d/zz-lilo
install -g root -m 755 -o root debian/lilo.kernel-postrm \
debian/lilo/etc/kernel/postrm.d/zz-lilo
dh_installdocs
cp debian/contrib/debianlilobmp.conf debian/lilo/usr/share/lilo/
cp debian/contrib/sidbmp.conf debian/lilo/usr/share/lilo/
cp debian/contrib/sargebmp.conf debian/lilo/usr/share/lilo/
cp debian/contrib/coffeebmp.conf debian/lilo/usr/share/lilo/
uudecode debian/contrib/sid-menu
uudecode debian/contrib/sarge-menu
uudecode debian/contrib/debianlilo-menu
uudecode debian/contrib/coffee-menu
cp debian/contrib/lilo-term.xpm debian/lilo/usr/share/pixmaps
cp debian/Makefile.floppy bootsect.b debian/lilo/usr/lib/lilo
cp README debian/lilo/usr/share/doc/lilo/Manual.txt
dh_installman
dh_installdebconf
dh_installchangelogs -plilo CHANGES upstream
dh_installchangelogs
dh_installexamples
dh_installmenu
dh_link
dh_strip
dh_compress
dh_fixperms
dh_shlibdeps
dh_gencontrol
dh_installdeb
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
%:
dh $@
testdir:
dh_testroot
.PHONY: build clean binary-indep binary-arch binary patch unpatch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment