summaryrefslogtreecommitdiff
path: root/sample/Makefile
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-04-17 23:57:52 +0100
committerH. Peter Anvin <hpa@zytor.com>2008-04-17 22:09:04 -0400
commitb84b154020dbd165abad9ff7010ea400210ef2a7 (patch)
tree9215af8f6f92b535124d386fee353e3e9ef7ff80 /sample/Makefile
parent0f3565349c5ae16f213fa5d971a8d264782779da (diff)
downloadsyslinux-b84b154020dbd165abad9ff7010ea400210ef2a7.tar.gz
syslinux 3.63: Rename $GZIP to $GZIPPROG
If the variable GZIP exists in the environment, overriding it in the Makefile exports it into the environment, causing failures: gzip -cd syslogo.ppm.gz | \ ../ppmtolss16 \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \ > syslogo.lss gzip.gz: No such file or directory 204480 pixels, 25715 bytes, (74.85% compression) Use $GZIPPROG instead.
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 3ed7907e..cf0d3f19 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -33,7 +33,7 @@ LDFLAGS = -s
OBJCOPY = objcopy
PPMTOLSS16 = ../ppmtolss16
LIB = liboldcom32.a
-GZIP = gzip
+GZIPPROG = gzip
PNGTOPNM = pngtopnm
LIBOBJS = conio.o atou.o skipatou.o printf.o c32exit.o
@@ -67,7 +67,7 @@ $(LIB): $(LIBOBJS)
$(RANLIB) $@
%.lss: %.ppm.gz $(PPMTOLSS16)
- $(GZIP) -cd $< | \
+ $(GZIPPROG) -cd $< | \
$(PPMTOLSS16) \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \
> $@