68 lines
3.9 KiB
Diff
68 lines
3.9 KiB
Diff
diff -Nru yaboot-1.3.13.orig/Makefile yaboot-1.3.13/Makefile
|
|
--- yaboot-1.3.13.orig/Makefile 2005-08-21 11:49:49.000000000 +0200
|
|
+++ yaboot-1.3.13/Makefile 2005-08-21 12:01:19.000000000 +0200
|
|
@@ -172,38 +172,38 @@
|
|
release: docs bindist clean
|
|
|
|
strip: all
|
|
- strip second/yaboot
|
|
- strip --remove-section=.comment second/yaboot
|
|
- strip util/addnote
|
|
- strip --remove-section=.comment --remove-section=.note util/addnote
|
|
+ $(CROSS)strip second/yaboot
|
|
+ $(CROSS)strip --remove-section=.comment second/yaboot
|
|
+ $(CROSS)strip util/addnote
|
|
+ $(CROSS)strip --remove-section=.comment --remove-section=.note util/addnote
|
|
|
|
install: all strip
|
|
- install -d -o root -g root -m 0755 ${ROOT}/etc/
|
|
- install -d -o root -g root -m 0755 ${ROOT}/${PREFIX}/sbin/
|
|
- install -d -o root -g root -m 0755 ${ROOT}/${PREFIX}/lib
|
|
- install -d -o root -g root -m 0755 ${ROOT}/${PREFIX}/lib/yaboot
|
|
- install -d -o root -g root -m 0755 ${ROOT}/${PREFIX}/${MANDIR}/man5/
|
|
- install -d -o root -g root -m 0755 ${ROOT}/${PREFIX}/${MANDIR}/man8/
|
|
- install -o root -g root -m 0644 second/yaboot ${ROOT}/$(PREFIX)/lib/yaboot
|
|
- install -o root -g root -m 0755 util/addnote ${ROOT}/${PREFIX}/lib/yaboot/addnote
|
|
- install -o root -g root -m 0644 first/ofboot ${ROOT}/${PREFIX}/lib/yaboot/ofboot
|
|
- install -o root -g root -m 0755 ybin/ofpath ${ROOT}/${PREFIX}/sbin/ofpath
|
|
- install -o root -g root -m 0755 ybin/ybin ${ROOT}/${PREFIX}/sbin/ybin
|
|
- install -o root -g root -m 0755 ybin/yabootconfig ${ROOT}/${PREFIX}/sbin/yabootconfig
|
|
+ install -d -m 0755 ${ROOT}/etc/
|
|
+ install -d -m 0755 ${ROOT}/${PREFIX}/sbin/
|
|
+ install -d -m 0755 ${ROOT}/${PREFIX}/lib
|
|
+ install -d -m 0755 ${ROOT}/${PREFIX}/lib/yaboot
|
|
+ install -d -m 0755 ${ROOT}/${PREFIX}/${MANDIR}/man5/
|
|
+ install -d -m 0755 ${ROOT}/${PREFIX}/${MANDIR}/man8/
|
|
+ install -m 0644 second/yaboot ${ROOT}/$(PREFIX)/lib/yaboot
|
|
+ install -m 0755 util/addnote ${ROOT}/${PREFIX}/lib/yaboot/addnote
|
|
+ install -m 0644 first/ofboot ${ROOT}/${PREFIX}/lib/yaboot/ofboot
|
|
+ install -m 0755 ybin/ofpath ${ROOT}/${PREFIX}/sbin/ofpath
|
|
+ install -m 0755 ybin/ybin ${ROOT}/${PREFIX}/sbin/ybin
|
|
+ install -m 0755 ybin/yabootconfig ${ROOT}/${PREFIX}/sbin/yabootconfig
|
|
rm -f ${ROOT}/${PREFIX}/sbin/mkofboot
|
|
ln -s ybin ${ROOT}/${PREFIX}/sbin/mkofboot
|
|
@gzip -9 man/*.[58]
|
|
- install -o root -g root -m 0644 man/bootstrap.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/bootstrap.8.gz
|
|
- install -o root -g root -m 0644 man/mkofboot.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/mkofboot.8.gz
|
|
- install -o root -g root -m 0644 man/ofpath.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/ofpath.8.gz
|
|
- install -o root -g root -m 0644 man/yaboot.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/yaboot.8.gz
|
|
- install -o root -g root -m 0644 man/yabootconfig.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/yabootconfig.8.gz
|
|
- install -o root -g root -m 0644 man/ybin.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/ybin.8.gz
|
|
- install -o root -g root -m 0644 man/yaboot.conf.5.gz ${ROOT}/${PREFIX}/${MANDIR}/man5/yaboot.conf.5.gz
|
|
+ install -m 0644 man/bootstrap.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/bootstrap.8.gz
|
|
+ install -m 0644 man/mkofboot.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/mkofboot.8.gz
|
|
+ install -m 0644 man/ofpath.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/ofpath.8.gz
|
|
+ install -m 0644 man/yaboot.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/yaboot.8.gz
|
|
+ install -m 0644 man/yabootconfig.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/yabootconfig.8.gz
|
|
+ install -m 0644 man/ybin.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/ybin.8.gz
|
|
+ install -m 0644 man/yaboot.conf.5.gz ${ROOT}/${PREFIX}/${MANDIR}/man5/yaboot.conf.5.gz
|
|
@gunzip man/*.gz
|
|
@if [ ! -e ${ROOT}/etc/yaboot.conf ] ; then \
|
|
- echo "install -o root -g root -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf"; \
|
|
- install -o root -g root -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf; \
|
|
+ echo "install -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf"; \
|
|
+ install -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf; \
|
|
else \
|
|
echo "/etc/yaboot.conf already exists, leaving it alone"; \
|
|
fi
|