Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 881 Bytes
all: doc
doc: squashfu.1
install: all
@echo "installing squashfu to ${DESTDIR}/usr/bin"
@cp squashfu ${DESTDIR}/usr/bin
@chmod 755 ${DESTDIR}/usr/bin/squashfu
@cp squashfu.conf ${DESTDIR}/etc
@chmod 644 ${DESTDIR}/etc/squashfu.conf
@echo "installing man page to ${DESTDIR}${MANPREFIX}/man1"
@sed "s/VERSION/${VERSION}/g" < squashfu.1 > ${DESTDIR}${MANPREFIX}/man1/squashfu.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/squashfu.1
@echo "--> Your inventory and config files will not be deleted."
@echo "Removing executable file from ${DESTDIR}/usr/bin"
@rm -f ${DESTDIR}/usr/bin/squashfu
@echo "Removing man page from ${DESTDIR}${MANPREFIX}/man1/squashfu.1"
@rm -f ${DESTDIR}${MANPREFIX}/man1/squashfu.1
squashfu.1: README.pod
pod2man --section=1 --center=" " --release=" " --name="SQUASHFU" --date="squashfu-${VERSION}" README.pod > squashfu.1
Jump to Line
Something went wrong with that request. Please try again.