- # Need to use a patched tmac.m macro file if we're using a pre-1.16
- # groff; version 1.16 is apparently fixed
- if dpkg --compare-versions "$(shell dpkg -s groff | sed -n -e 's/Version: //p')" lt 1.16; then \
- cp /usr/share/groff/tmac/tmac.m fhs && \
- cd fhs && patch -p1 < ../mm1.32-patch; \
- fi
- # The extra '.' in the tmac path won't harm if unnecessary
- #GROFF_TMAC_PATH=. GROFF_NO_SGR=1 $(MAKE) -C fhs fhs.ps fhs.pdf fhs.txt
- #links -dump fhs-changes-2.1.html | perl -pe 's/[\r\0]//g' > \
- # fhs/fhs-changes-2.1.txt
- links -dump upgrading-checklist.html | perl -pe 's/[\r\0]//g' > \
- upgrading-checklist.txt