diff options
| -rw-r--r-- | Makefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index 18d6df4..6c0e8bf 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -53,7 +53,6 @@ includedir = ${prefix}/include | |||
| 53 | mandir = ${prefix}/share/man | 53 | mandir = ${prefix}/share/man |
| 54 | man3dir = ${mandir}/man3 | 54 | man3dir = ${mandir}/man3 |
| 55 | pkgconfigdir = ${libdir}/pkgconfig | 55 | pkgconfigdir = ${libdir}/pkgconfig |
| 56 | tempfile := $(shell mktemp -u __XXXXXX) | ||
| 57 | 56 | ||
| 58 | OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o | 57 | OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o |
| 59 | OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o | 58 | OBJG = compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o |
| @@ -228,10 +227,11 @@ zlib.3.pdf: zlib.3 | |||
| 228 | groff -mandoc -f H -T ps zlib.3 | ps2pdf - zlib.3.pdf | 227 | groff -mandoc -f H -T ps zlib.3 | ps2pdf - zlib.3.pdf |
| 229 | 228 | ||
| 230 | zconf.h.cmakein: zconf.h.in | 229 | zconf.h.cmakein: zconf.h.in |
| 231 | -@echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" > $(tempfile) | 230 | -@ TEMPFILE=`mktemp -u __XXXXXX`; \ |
| 232 | -@sed -f $(tempfile) zconf.h.in > zconf.h.cmakein | 231 | echo "/#define ZCONF_H/ a\\\\\n#cmakedefine Z_PREFIX\\\\\n#cmakedefine Z_HAVE_UNISTD_H\n" > $$TEMPFILE &&\ |
| 233 | -@touch -r zconf.h.in zconf.h.cmakein | 232 | sed -f $$TEMPFILE zconf.h.in > zconf.h.cmakein &&\ |
| 234 | -@rm $(tempfile) | 233 | touch -r zconf.h.in zconf.h.cmakein &&\ |
| 234 | rm $$TEMPFILE | ||
| 235 | 235 | ||
| 236 | zconf: zconf.h.in | 236 | zconf: zconf.h.in |
| 237 | cp -p zconf.h.in zconf.h | 237 | cp -p zconf.h.in zconf.h |
