chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add section and priority fields, and manpages for backup scripts
[chiark-utils.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 13d0680e828b8d6b9d8378c5b1bf058cdfee7a7d..1733dcd8a95a92017d8938f044b088b1ca234610 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-60,11
+60,18
@@
binary-prep:
cd $t/chiark-utils-bin/usr/share/man/man1 && \
mv readbuffer.1 writebuffer.1 $t/chiark-rwbuffer/usr/share/man/man1/
#
cd $t/chiark-utils-bin/usr/share/man/man1 && \
mv readbuffer.1 writebuffer.1 $t/chiark-rwbuffer/usr/share/man/man1/
#
+ install -d $t/chiark-backup/usr/share/man/man1
+ cp backup/man/*.1 $t/chiark-backup/usr/share/man/man1/
+ cd $t/chiark-backup/usr/share/man/man1 && \
+ for m in *.1; do \
+ mv "$$m" backup-"$$m"; \
+ done
+ #
install -d $t/chiark-really/usr/sbin
install -d $t/chiark-really/usr/share/man/man8
cd $t/chiark-utils-bin/usr/sbin && \
mv really $t/chiark-really/usr/sbin/
install -d $t/chiark-really/usr/sbin
install -d $t/chiark-really/usr/share/man/man8
cd $t/chiark-utils-bin/usr/sbin && \
mv really $t/chiark-really/usr/sbin/
- strip --strip-unneeded $t/chiark-really/usr/sbin/really
+ strip --strip-unneeded
--remove-section .note --remove-section .comment
$t/chiark-really/usr/sbin/really
cd $t/chiark-utils-bin/usr/share/man/man8 && \
mv really.8 $t/chiark-really/usr/share/man/man8/
rm $t/chiark-utils-bin/usr/sbin/trivsoundd \
cd $t/chiark-utils-bin/usr/share/man/man8 && \
mv really.8 $t/chiark-really/usr/share/man/man8/
rm $t/chiark-utils-bin/usr/sbin/trivsoundd \
@@
-87,7
+94,7
@@
binary-one:
cp debian/$p/$$f $t/$p/DEBIAN/$$f; \
chmod u=rwX,go=rX $t/$p/DEBIAN/$$f; \
done
cp debian/$p/$$f $t/$p/DEBIAN/$$f; \
chmod u=rwX,go=rX $t/$p/DEBIAN/$$f; \
done
- dpkg-gencontrol -p$p -P$t/$p -Tdebian/sv-$p
+ dpkg-gencontrol -
isp -
p$p -P$t/$p -Tdebian/sv-$p
chown -R root.root debian/tmp
chmod -R g-ws debian/tmp
debian/rules binary-hook-$p
chown -R root.root debian/tmp
chmod -R g-ws debian/tmp
debian/rules binary-hook-$p