1 --- ck-0.5.2/doc/Makefile.in.orig 2017-01-20 17:23:59.365885969 +0100
2 +++ ck-0.5.2/doc/Makefile.in 2017-01-20 17:28:59.305434266 +0100
7 -GZIP_SUFFIX=.3@GZIP_SUFFIX@
15 for target in $(OBJECTS); do \
16 - $(GZIP) $(SRC_DIR)/doc/$$target > $(BUILD_DIR)/doc/$$target$(GZIP_SUFFIX); \
17 + cp $(SRC_DIR)/doc/$$target $(BUILD_DIR)/doc/$$target$(MAN_SUFFIX); \
23 groff -man -Tascii $(SRC_DIR)/doc/$$target | col -bx > \
24 $(BUILD_DIR)/doc/$$target$(HTML_SUFFIX); \
25 - sed -i.bk 's/\&/\&\;/g;s/>/\>\;/g;s/</\<\;/g;' \
26 + gsed -i.bk 's/\&/\&\;/g;s/>/\>\;/g;s/</\<\;/g;' \
27 $(BUILD_DIR)/doc/$$target$(HTML_SUFFIX); \
30 # check for entries that are missing in OBJECTS
32 - for file in `ls * | egrep '(ck|CK)_' | egrep -v "($(GZIP_SUFFIX)|$(HTML_SUFFIX))$$"`; do \
33 - if [ ! -f $${file}$(GZIP_SUFFIX) ]; then \
34 + for file in `ls * | egrep '(ck|CK)_' | egrep -v "($(MAN_SUFFIX)|$(HTML_SUFFIX))$$"`; do \
35 + if [ ! -f $${file}$(MAN_SUFFIX) ]; then \
36 echo "$$file is missing from OBJECTS" >&2; \
42 mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit
43 - cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
44 + cp *$(MAN_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
47 for target in $(OBJECTS); do \
48 - rm -f $(DESTDIR)/$(MANDIR)/man3/$$target$(GZIP_SUFFIX); \
49 + rm -f $(DESTDIR)/$(MANDIR)/man3/$$target$(MAN_SUFFIX); \
53 - rm -f $(BUILD_DIR)/doc/*~ $(BUILD_DIR)/doc/*$(GZIP_SUFFIX) $(BUILD_DIR)/doc/*$(HTML_SUFFIX)
54 + rm -f $(BUILD_DIR)/doc/*~ $(BUILD_DIR)/doc/*$(MAN_SUFFIX) $(BUILD_DIR)/doc/*$(HTML_SUFFIX)